mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-21 13:59:36 +02:00
Refactor release workflow to use "released" event type
This commit is contained in:
parent
d0791faad5
commit
f354cd1ffe
5 changed files with 125 additions and 57 deletions
|
@ -19,14 +19,14 @@
|
|||
if (modal) {
|
||||
modal.showModal();
|
||||
}
|
||||
let res = await fetch(`/api/adventures/all/?include_collections=false`, {
|
||||
let res = await fetch(`/api/adventures/?include_collections=false`, {
|
||||
method: 'GET'
|
||||
});
|
||||
|
||||
const newAdventures = await res.json();
|
||||
|
||||
if (res.ok && adventures) {
|
||||
adventures = newAdventures;
|
||||
adventures = newAdventures.results;
|
||||
}
|
||||
isLoading = false;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue