Merge pull request #677 from seanmorley15/development

fix(adventure): add collection ID to adventure when creating a new ad…
This commit is contained in:
Sean Morley
2025-06-18 10:23:02 -04:00
committed by GitHub

View File

@@ -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: {