From cfde28bac33c3644e1b6218eb471b675a37def60 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 9 Jul 2020 15:54:24 +0200 Subject: Add ability to report account --- shared/models/moderation/abuse/abuse.model.ts | 4 ++-- shared/models/users/user-notification.model.ts | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'shared/models') diff --git a/shared/models/moderation/abuse/abuse.model.ts b/shared/models/moderation/abuse/abuse.model.ts index 74798ab2c..0a0c6bd35 100644 --- a/shared/models/moderation/abuse/abuse.model.ts +++ b/shared/models/moderation/abuse/abuse.model.ts @@ -62,9 +62,9 @@ export interface Abuse { // FIXME: deprecated in 2.3, remove the following properties // @deprecated - startAt: null + startAt?: null // @deprecated - endAt: null + endAt?: null // @deprecated count?: number diff --git a/shared/models/users/user-notification.model.ts b/shared/models/users/user-notification.model.ts index 11d96fd50..5f7c33976 100644 --- a/shared/models/users/user-notification.model.ts +++ b/shared/models/users/user-notification.model.ts @@ -73,7 +73,9 @@ export interface UserNotification { threadId: number video: { + id: number uuid: string + name: string } } -- cgit v1.2.3