Skip to content

Commit

Permalink
Fix meeting admin update as committee admin
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianjoel committed Oct 17, 2023
1 parent cbc99c5 commit 566b7f5
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,13 @@ export class MeetingRepositoryService extends BaseRepository<ViewMeeting, Meetin
update.start_time = this.anyDateToUnix(update.start_time);
update.end_time = this.anyDateToUnix(update.end_time);
}
if (meeting && meeting.start_time === undefined && update.start_time === null) {
delete update.start_time;
}
if (meeting && meeting.end_time === undefined && update.end_time === null) {
delete update.end_time;
}

if (update.organization_tag_ids === null) {
update.organization_tag_ids = [];
}
Expand Down

0 comments on commit 566b7f5

Please sign in to comment.