Conformed with the API change of the boardgame ID path -> GET
This commit is contained in:
parent
76497e21c9
commit
49b97ef0c2
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ async function loadGame() {
|
|||
let params = new URLSearchParams(document.location.search);
|
||||
let boardgame_id = params.get("id");
|
||||
|
||||
var loadGameURL = api_url + '/boardgame/' + boardgame_id
|
||||
var loadGameURL = api_url + '/boardgame?id=' + boardgame_id
|
||||
var requested_game = await makeRequest(loadGameURL)
|
||||
|
||||
$('#boardgame_image').attr('src', requested_game.image_url)
|
||||
|
|
|
|||
Loading…
Reference in a new issue