diff --git a/frontend/src/lib/components/AdventureModal.svelte b/frontend/src/lib/components/AdventureModal.svelte index c097871..504a360 100644 --- a/frontend/src/lib/components/AdventureModal.svelte +++ b/frontend/src/lib/components/AdventureModal.svelte @@ -456,6 +456,11 @@ } } + // add this collection to the adventure + if (collection && collection.id) { + adventure.collections = [collection.id]; + } + let res = await fetch('/api/adventures', { method: 'POST', headers: {