From bc0b8afb1f955b2d487673d8b90ea6a2b427116a Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 13 Jan 2023 15:15:31 +0900 Subject: [PATCH] fix ads/update api --- packages/backend/src/server/api/endpoints/admin/ad/update.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/admin/ad/update.ts b/packages/backend/src/server/api/endpoints/admin/ad/update.ts index 195300666e..08e3c96ca9 100644 --- a/packages/backend/src/server/api/endpoints/admin/ad/update.ts +++ b/packages/backend/src/server/api/endpoints/admin/ad/update.ts @@ -38,7 +38,7 @@ export const paramDef = { @Injectable() export default class extends Endpoint { constructor( - @Inject(DI.usersRepository) + @Inject(DI.adsRepository) private adsRepository: AdsRepository, ) { super(meta, paramDef, async (ps, me) => {