Fix error when collection is null in collection notification (#38831)
This commit is contained in:
1 parent
ffd7160980
commit
31f89617d8
3 files changed
+9
-4
No files matched your search
@@ -91,11 +91,11 @@ export interface NotificationGroupAdminReport extends BaseNotification<'admin.re
|
||||
|
||||
type Collection = ApiCollectionJSON;
|
||||
export interface NotificationGroupAddedToCollection extends BaseNotification<'added_to_collection'> {
|
||||
collection: Collection;
|
||||
collection: Collection | null;
|
||||
}
|
||||
|
||||
export interface NotificationGroupCollectionUpdate extends BaseNotification<'collection_update'> {
|
||||
collection: Collection;
|
||||
collection: Collection | null;
|
||||
}
|
||||
|
||||
export type NotificationGroup =
|
||||
|
||||
Reference in new issue
Block a user