mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-01-31 15:37:09 +01:00
feat: add oidc to admin panel
This commit is contained in:
@@ -57,9 +57,11 @@ class NotificationSystem {
|
||||
}
|
||||
|
||||
async push(userId: string, notificationCreateArgs: NotificationCreateArgs) {
|
||||
if (!notificationCreateArgs.nonce)
|
||||
throw new Error("No nonce in notificationCreateArgs");
|
||||
const notification = await prisma.notification.upsert({
|
||||
where: {
|
||||
nonce: notificationCreateArgs.nonce!!
|
||||
nonce: notificationCreateArgs.nonce,
|
||||
},
|
||||
update: {
|
||||
userId: userId,
|
||||
|
||||
Reference in New Issue
Block a user