diff --git a/src/server/services/bag.ts b/src/server/services/bag.ts index 2f0a1f6c8..e2737eeb7 100644 --- a/src/server/services/bag.ts +++ b/src/server/services/bag.ts @@ -17,7 +17,7 @@ export interface BAGData { export async function fetchBAG( requestID: RequestID, sourceAddress: Adres | null -): Promise> { +): Promise> { if (!sourceAddress?.straatnaam || !sourceAddress.huisnummer) { return apiErrorResult('Could not query BAG, no address supplied.', null); }