Merge branch 'master' of framagit.org:/les/gancio into feat/allowgeoloc

This commit is contained in:
sedum
2022-10-18 16:45:42 +02:00
21 changed files with 920 additions and 933 deletions

View File

@@ -574,8 +574,8 @@ const eventController = {
let tags = []
if (body.tags) {
tags = await tagController._findOrCreate(body.tags)
await event.setTags(tags)
}
await event.setTags(tags)
let newEvent = await Event.findByPk(event.id, { include: [Tag, Place] })
newEvent = newEvent.get()