summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/PushNotificationService.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-12-06 09:17:37 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-12-06 09:17:37 +0900
commit3e493effaf5d14b739030459976721a95293f257 (patch)
tree9eb1bce5724cb412a3b5ca211f0c26b2001b5c8f /packages/backend/src/core/PushNotificationService.ts
parentchore: Add yarn itself to repository (#9239) (diff)
downloadmisskey-3e493effaf5d14b739030459976721a95293f257.tar.gz
misskey-3e493effaf5d14b739030459976721a95293f257.tar.bz2
misskey-3e493effaf5d14b739030459976721a95293f257.zip
chore: add missing decoration of PushNotificationService
Diffstat (limited to 'packages/backend/src/core/PushNotificationService.ts')
-rw-r--r--packages/backend/src/core/PushNotificationService.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/backend/src/core/PushNotificationService.ts b/packages/backend/src/core/PushNotificationService.ts
index 512b6025b3..df5284de4b 100644
--- a/packages/backend/src/core/PushNotificationService.ts
+++ b/packages/backend/src/core/PushNotificationService.ts
@@ -52,6 +52,7 @@ export class PushNotificationService {
) {
}
+ @bindThis
public async pushNotification<T extends keyof pushNotificationsTypes>(userId: string, type: T, body: pushNotificationsTypes[T]) {
const meta = await this.metaService.fetch();