Skip to content

Commit

Permalink
[2024] Make sure dates included in address lookup.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Jul 5, 2024
1 parent ea3eeb9 commit 28589d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/docs/postcode/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function democracy_club_postcode($pc) {

function democracy_club_address($address) {
$address = urlencode($address);
$data = web_lookup("https://developers.democracyclub.org.uk/api/v1/address/$address/?auth_token=" . OPTION_DEMOCRACYCLUB_TOKEN);
$data = web_lookup("https://developers.democracyclub.org.uk/api/v1/address/$address/?include_current=1&auth_token=" . OPTION_DEMOCRACYCLUB_TOKEN);
$data = json_decode($data);
return $data;
}
Expand Down

0 comments on commit 28589d8

Please sign in to comment.