mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-23 21:02:24 +02:00
UBERF-8595: Fix backup/restore performance (#7188)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -27,7 +27,7 @@ export async function createNotification (
|
||||
const existing = await client.findOne(notification.class.CommonInboxNotification, {
|
||||
user: data.user,
|
||||
message: data.message,
|
||||
props: data.props
|
||||
...Object.fromEntries(Object.entries(data.props).map(([k, v]) => [`props.${k}`, v]))
|
||||
})
|
||||
if (existing !== undefined) {
|
||||
await client.update(existing, {
|
||||
|
||||
Reference in New Issue
Block a user