fix: repositoryはinjectしないといけない覚えた

This commit is contained in:
mattyatea 2023-09-15 18:54:47 +09:00
parent eddf29ea1a
commit 0312fcccfa
2 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
constructor( constructor(
@Inject(DI.driveFilesRepository) @Inject(DI.driveFilesRepository)
private driveFilesRepository: DriveFilesRepository, private driveFilesRepository: DriveFilesRepository,
@Inject(DI.emojisRepository)
private emojisRepository: EmojisRepository, private emojisRepository: EmojisRepository,
private customEmojiService: CustomEmojiService, private customEmojiService: CustomEmojiService,

View File

@ -69,6 +69,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
constructor( constructor(
@Inject(DI.driveFilesRepository) @Inject(DI.driveFilesRepository)
private driveFilesRepository: DriveFilesRepository, private driveFilesRepository: DriveFilesRepository,
@Inject(DI.emojisRepository)
private emojisRepository: EmojisRepository, private emojisRepository: EmojisRepository,
private customEmojiService: CustomEmojiService, private customEmojiService: CustomEmojiService,
) { ) {