diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2020-05-26 14:33:55 +0900 |
|---|---|---|
| committer | tamaina <tamaina@hotmail.co.jp> | 2020-05-26 14:33:55 +0900 |
| commit | 9bee9d20f751d2cf5833c5b2cf8be875496250c2 (patch) | |
| tree | 200771d0da80c63cfa5609d7d73141be25f0b0b1 /src/models/repositories/notification.ts | |
| parent | Resolve https://github.com/syuilo/misskey/pull/6406#issuecomment-633203670 (diff) | |
| download | sharkey-9bee9d20f751d2cf5833c5b2cf8be875496250c2.tar.gz sharkey-9bee9d20f751d2cf5833c5b2cf8be875496250c2.tar.bz2 sharkey-9bee9d20f751d2cf5833c5b2cf8be875496250c2.zip | |
Improve typing
Diffstat (limited to 'src/models/repositories/notification.ts')
| -rw-r--r-- | src/models/repositories/notification.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/models/repositories/notification.ts b/src/models/repositories/notification.ts index b484c43c5e..40f43d6c15 100644 --- a/src/models/repositories/notification.ts +++ b/src/models/repositories/notification.ts @@ -19,6 +19,7 @@ export class NotificationRepository extends Repository<Notification> { id: notification.id, createdAt: notification.createdAt.toISOString(), type: notification.type, + isRead: notification.isRead, userId: notification.notifierId, user: notification.notifierId ? Users.pack(notification.notifier || notification.notifierId) : null, ...(notification.type === 'mention' ? { |