File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/RoadRegistry.BackOffice.Api/Handlers/Extracts Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ protected override async Task<ExtractListResponse> InnerHandleAsync(ExtractListR
4040 var query =
4141 from extractRequest in extractRequestQuery
4242 join extractDownload in _extractsDbContext . ExtractDownloads on extractRequest . CurrentDownloadId equals extractDownload . DownloadId
43- where extractRequest . RequestedOn > now . AddYears ( - 1 )
43+ where extractDownload . RequestedOn > now . AddYears ( - 1 )
4444 select new { Extract = extractRequest , Download = extractDownload }
4545 ;
4646
@@ -67,7 +67,7 @@ join extractDownload in _extractsDbContext.ExtractDownloads on extractRequest.Cu
6767 DownloadId = new DownloadId ( record . Download . DownloadId ) ,
6868 Description = record . Extract . Description ,
6969 ExtractRequestId = ExtractRequestId . FromString ( record . Extract . ExtractRequestId ) ,
70- RequestedOn = record . Extract . RequestedOn ,
70+ RequestedOn = record . Download . RequestedOn ,
7171 IsInformative = record . Download . IsInformative ,
7272 DownloadStatus = record . Download . DownloadStatus . ToString ( ) ,
7373 UploadStatus = record . Download . UploadStatus ? . ToString ( ) ,
You can’t perform that action at this time.
0 commit comments