summaryrefslogtreecommitdiff
path: root/src/api/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/common')
-rw-r--r--src/api/common/notify.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/common/notify.ts b/src/api/common/notify.ts
index 9152b85cdb..e7ec37d4e4 100644
--- a/src/api/common/notify.ts
+++ b/src/api/common/notify.ts
@@ -7,7 +7,7 @@ export default (
notifiee: mongo.ObjectID,
notifier: mongo.ObjectID,
type: string,
- content: any
+ content?: any
) => new Promise<any>(async (resolve, reject) => {
if (notifiee.equals(notifier)) {
return resolve();