diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-12-04 17:05:32 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-12-04 17:05:32 +0900 |
| commit | 9ce13d487b25ae518693b4b75177508101623393 (patch) | |
| tree | f3f03e85cb26d39b1deb28f0d2f4cd98089c851b /packages/backend/src/core/PushNotificationService.ts | |
| parent | refactor: introduce bindThis decorator to bind this automaticaly (diff) | |
| download | misskey-9ce13d487b25ae518693b4b75177508101623393.tar.gz misskey-9ce13d487b25ae518693b4b75177508101623393.tar.bz2 misskey-9ce13d487b25ae518693b4b75177508101623393.zip | |
chore: fix import position
Diffstat (limited to 'packages/backend/src/core/PushNotificationService.ts')
| -rw-r--r-- | packages/backend/src/core/PushNotificationService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/PushNotificationService.ts b/packages/backend/src/core/PushNotificationService.ts index bffb24cf4c..512b6025b3 100644 --- a/packages/backend/src/core/PushNotificationService.ts +++ b/packages/backend/src/core/PushNotificationService.ts @@ -6,6 +6,7 @@ import type { Packed } from '@/misc/schema'; import { getNoteSummary } from '@/misc/get-note-summary.js'; import type { SwSubscriptionsRepository } from '@/models/index.js'; import { MetaService } from '@/core/MetaService.js'; +import { bindThis } from '@/decorators.js'; // Defined also packages/sw/types.ts#L14-L21 type pushNotificationsTypes = { @@ -37,7 +38,6 @@ function truncateNotification(notification: Packed<'Notification'>): any { return notification; } -import { bindThis } from '@/decorators.js'; @Injectable() export class PushNotificationService { |