-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MIJN-9702-CHORE/BAG-endpoint-vervangen-ivm-deprecation-huidig-endpoint #1680
base: main
Are you sure you want to change the base?
MIJN-9702-CHORE/BAG-endpoint-vervangen-ivm-deprecation-huidig-endpoint #1680
Conversation
c34bcd4
to
48cb931
Compare
2504892
to
825e877
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bijna!
@@ -21,39 +18,35 @@ export async function fetchBAG( | |||
requestID: RequestID, | |||
sourceAddress: Adres | null | |||
) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explicit return type mist
src/server/services/bag.ts
Outdated
const isWeesp = sourceAddress.woonplaatsNaam === 'Weesp'; | ||
const data = responseData._embedded?.adresseerbareobjecten; | ||
if (!data || data.length < 1) { | ||
return {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Liever null
teruggeven
Co-authored-by: Tim van Oostrom <t.van.oostrom@amsterdam.nl>
Co-authored-by: Tim van Oostrom <t.van.oostrom@amsterdam.nl>
Co-authored-by: Tim van Oostrom <t.van.oostrom@amsterdam.nl>
No description provided.