chore: add missing decoration of PushNotificationService

This commit is contained in:
syuilo 2022-12-06 09:17:37 +09:00
parent 5e14f3ff55
commit 3e493effaf

View file

@ -52,6 +52,7 @@ export class PushNotificationService {
) { ) {
} }
@bindThis
public async pushNotification<T extends keyof pushNotificationsTypes>(userId: string, type: T, body: pushNotificationsTypes[T]) { public async pushNotification<T extends keyof pushNotificationsTypes>(userId: string, type: T, body: pushNotificationsTypes[T]) {
const meta = await this.metaService.fetch(); const meta = await this.metaService.fetch();