mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
allow tags removal
This commit is contained in:
parent
00a5819e46
commit
78b2a3e673
1 changed files with 1 additions and 1 deletions
|
@ -570,8 +570,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()
|
||||
|
|
Loading…
Reference in a new issue