diff --git a/packages/backend/src/core/entities/NotificationEntityService.ts b/packages/backend/src/core/entities/NotificationEntityService.ts index 45c55208a3..50af1580c6 100644 --- a/packages/backend/src/core/entities/NotificationEntityService.ts +++ b/packages/backend/src/core/entities/NotificationEntityService.ts @@ -204,7 +204,6 @@ export class NotificationEntityService implements OnModuleInit { icon: notification.customIcon, } : {}), ...(notification.type === 'sharedAccessGranted' ? { - tokenId: notification.tokenId, permCount: notification.permCount, rank: notification.rank, } : {}), diff --git a/packages/backend/src/types.ts b/packages/backend/src/types.ts index 8f37b45004..e799447117 100644 --- a/packages/backend/src/types.ts +++ b/packages/backend/src/types.ts @@ -46,6 +46,9 @@ export const notificationTypes = [ 'scheduledNotePosted', 'app', 'test', + 'sharedAccessGranted', + 'sharedAccessRevoked', + 'sharedAccessLogin', ] as const; export const groupedNotificationTypes = [