[Glitch] Fix error when collection is null in collection notification
Port 31f89617d8 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
20e9618e6d
commit
57ed939d00
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