Skip to content

Commit f2ef700

Browse files
authored
Fix locations and ps export (#953)
1 parent 0e884de commit f2ef700

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/src/Vote.Monitor.Hangfire/Jobs/Export/Locations/ExportLocationsJob.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private async Task<LocationModel[]> GetLocationsAsync(Guid electionRoundId, Canc
8080
"Level4",
8181
"Level5",
8282
"DisplayOrder",
83-
"Tags"
83+
coalesce("Tags", '{}') as "Tags"
8484
FROM
8585
"Locations"
8686
WHERE

api/src/Vote.Monitor.Hangfire/Jobs/Export/PollingStations/ExportPollingStationsJob.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ private async Task<List<PollingStationModel>> GetPollingStationsAsync(Guid elect
8484
PS."Number",
8585
PS."Address",
8686
ps."DisplayOrder",
87-
PS."Tags"
87+
coalesce(PS."Tags", '{}') as "Tags"
8888
FROM
8989
"PollingStations" PS
9090
WHERE

0 commit comments

Comments
 (0)