mirror of
https://github.com/RocketChat/Rocket.Chat.git
synced 2025-12-28 06:47:25 +00:00
fix: Saving Business hour throws an alert (#29449)
This commit is contained in:
parent
1ca6d707d3
commit
37c792161f
5
.changeset/modern-terms-jump.md
Normal file
5
.changeset/modern-terms-jump.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@rocket.chat/agenda": patch
|
||||
---
|
||||
|
||||
fix: Saving Business hour throws an alert
|
||||
@ -466,7 +466,7 @@ export class Agenda extends EventEmitter {
|
||||
|
||||
const update = {
|
||||
$set,
|
||||
$setOnInsert,
|
||||
...(Object.keys($setOnInsert).length && { $setOnInsert }),
|
||||
};
|
||||
|
||||
// Try an upsert
|
||||
|
||||
Loading…
Reference in New Issue
Block a user