Skip to content

Commit eebb567

Browse files
committed
šŸ› hardcode ORP ID for Prague
1 parent bd381ff commit eebb567

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ā€Žsrc/resolvers/municipalityCases/municipalityCasesResolver.ts

+6
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ export const municipalityCasesResolver = {
4747
days: data.days.slice(-limit),
4848
};
4949

50+
// Return orpId 1000 for Prague.
51+
// Source data contain "orpId": 0 and "orpName": "nezařazenĆ­" for some reason.
52+
if (data.municipalityId === 554782) {
53+
(result.orpId = 1000), (result.orpName = "Praha");
54+
}
55+
5056
return result;
5157
}
5258
},

0 commit comments

Comments
Ā (0)