From 3bc93e519ee1b1e31cc7ee5147e6f158cf8272e6 Mon Sep 17 00:00:00 2001 From: mattyatea Date: Sat, 7 Oct 2023 20:56:26 +0900 Subject: [PATCH] bug fix --- packages/backend/src/server/api/endpoints/users/notes.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/users/notes.ts b/packages/backend/src/server/api/endpoints/users/notes.ts index 2b3ba492d7..5ba0610f88 100644 --- a/packages/backend/src/server/api/endpoints/users/notes.ts +++ b/packages/backend/src/server/api/endpoints/users/notes.ts @@ -13,8 +13,9 @@ import { DI } from '@/di-symbols.js'; import { CacheService } from '@/core/CacheService.js'; import { IdService } from '@/core/IdService.js'; import { isUserRelated } from '@/misc/is-user-related.js'; -import { QueryService } from '@/core/QueryService.js'; +import { QueryService } from '@/server/api/QueryService.js'; import { ApiError } from '../../error.js'; +import { GetterService } from '@/core/GetterService.js' export const meta = { tags: ['users', 'notes'], @@ -66,6 +67,7 @@ export default class extends Endpoint { // eslint- @Inject(DI.notesRepository) private notesRepository: NotesRepository, + private getterService: GetterService, private queryService: QueryService, private noteEntityService: NoteEntityService, private cacheService: CacheService,