Fix linter error on NotificationBuilder

This commit is contained in:
Sosthene 2025-07-30 12:28:51 +02:00
parent b2dbfbeaa2
commit 17c4347e98

View File

@ -95,7 +95,7 @@ export default class NotificationBuilder {
redirection_url: "", redirection_url: "",
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
user: [user] || [], user: user ? [user] : [],
}); });
} }
@ -105,7 +105,7 @@ export default class NotificationBuilder {
redirection_url: "", redirection_url: "",
created_at: new Date(), created_at: new Date(),
updated_at: new Date(), updated_at: new Date(),
user: [user] || [], user: user ? [user] : [],
}); });
} }