Yuki Takei 1 год назад
Родитель
Сommit
09f3c8e6d3
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      apps/slackbot-proxy/src/services/LinkSharedService.ts

+ 3 - 1
apps/slackbot-proxy/src/services/LinkSharedService.ts

@@ -3,7 +3,9 @@ import type { WebClient } from '@slack/web-api';
 import { Inject, Service } from '@tsed/di';
 import axios from 'axios';
 
-import type { RelationRepository } from '~/repositories/relation';
+// needed to import class (not type) for injection
+// eslint-disable-next-line @typescript-eslint/consistent-type-imports
+import { RelationRepository } from '~/repositories/relation';
 import loggerFactory from '~/utils/logger';
 
 const logger = loggerFactory('slackbot-proxy:services:LinkSharedService');