diff --git a/server/src/nest/integrations/dawarich.client.ts b/server/src/nest/integrations/dawarich.client.ts index f1c6c58da..ccbf3b9e4 100644 --- a/server/src/nest/integrations/dawarich.client.ts +++ b/server/src/nest/integrations/dawarich.client.ts @@ -48,7 +48,7 @@ export const TRACKS_PAGE_SIZE = 200; /** Points cap at 10000 upstream. A day of tracking is a few thousand. */ export const POINTS_PAGE_SIZE = 5000; /** Points read to name one stay. Enough to get past a few not yet geocoded. */ -export const GEOCODED_POINTS_PAGE_SIZE = 50; +const GEOCODED_POINTS_PAGE_SIZE = 50; /** * How many pages one call will walk before giving up and saying so. diff --git a/server/src/nest/integrations/dawarich.helpers.ts b/server/src/nest/integrations/dawarich.helpers.ts index 2c1dde500..383d957ed 100644 --- a/server/src/nest/integrations/dawarich.helpers.ts +++ b/server/src/nest/integrations/dawarich.helpers.ts @@ -159,7 +159,7 @@ function realName(value: unknown): string | null { * The best name the visit itself carries: its own, its place's, then the * place's address. Null when there is none of them. */ -export function visitSourceName(visit: DawarichVisitRaw): string | null { +function visitSourceName(visit: DawarichVisitRaw): string | null { return realName(visit.name) ?? realName(visit.place?.name) ?? realName(visit.place?.address); }