move event.locations to more unique event.online_locations, various fixes on insertion workflow, improved locale messages

This commit is contained in:
sedum
2023-02-22 03:11:58 +01:00
parent 3ca86b9a3b
commit cff608c06f
11 changed files with 105 additions and 102 deletions

View File

@@ -401,7 +401,7 @@ const eventController = {
multidate: body.multidate,
start_datetime: body.start_datetime,
end_datetime: body.end_datetime,
locations: body.locations,
online_locations: body.online_locations,
recurrent,
// publish this event only if authenticated
is_visible: !!req.user
@@ -486,7 +486,7 @@ const eventController = {
multidate: body.multidate,
start_datetime: body.start_datetime || event.start_datetime,
end_datetime: body.end_datetime || null,
locations: body.locations,
online_locations: body.online_locations,
recurrent
}