Skip to content

Commit

Permalink
Add type
Browse files Browse the repository at this point in the history
  • Loading branch information
timvanoostrom committed Jan 9, 2025
1 parent d8cf82d commit d80234b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/bag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface BAGData {
export async function fetchBAG(
requestID: RequestID,
sourceAddress: Adres | null
): Promise<ApiResponse<BAGData>> {
): Promise<ApiResponse<BAGData | null>> {
if (!sourceAddress?.straatnaam || !sourceAddress.huisnummer) {
return apiErrorResult('Could not query BAG, no address supplied.', null);
}
Expand Down

0 comments on commit d80234b

Please sign in to comment.