diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-01-14 17:38:16 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-01-14 17:38:16 +0900 |
| commit | 76c049522e2fb506915f9fad0cd763236245f45c (patch) | |
| tree | 32a19e1239698d01a3571508e8fcd87c78597398 /packages/backend/src/queue/processors | |
| parent | refactor(client): use css modules (diff) | |
| download | sharkey-76c049522e2fb506915f9fad0cd763236245f45c.tar.gz sharkey-76c049522e2fb506915f9fad0cd763236245f45c.tar.bz2 sharkey-76c049522e2fb506915f9fad0cd763236245f45c.zip | |
enhance: ユーザーリストおよびユーザーリスト内のユーザーの作成可能数を設定可能に
Diffstat (limited to 'packages/backend/src/queue/processors')
| -rw-r--r-- | packages/backend/src/queue/processors/ImportUserListsProcessorService.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/backend/src/queue/processors/ImportUserListsProcessorService.ts b/packages/backend/src/queue/processors/ImportUserListsProcessorService.ts index 1bec77b837..a9672250c8 100644 --- a/packages/backend/src/queue/processors/ImportUserListsProcessorService.ts +++ b/packages/backend/src/queue/processors/ImportUserListsProcessorService.ts @@ -10,10 +10,10 @@ import { DownloadService } from '@/core/DownloadService.js'; import { UserListService } from '@/core/UserListService.js'; import { IdService } from '@/core/IdService.js'; import { UtilityService } from '@/core/UtilityService.js'; +import { bindThis } from '@/decorators.js'; import { QueueLoggerService } from '../QueueLoggerService.js'; import type Bull from 'bull'; import type { DbUserImportJobData } from '../types.js'; -import { bindThis } from '@/decorators.js'; @Injectable() export class ImportUserListsProcessorService { @@ -102,7 +102,7 @@ export class ImportUserListsProcessorService { if (await this.userListJoiningsRepository.findOneBy({ userListId: list!.id, userId: target.id }) != null) continue; - this.userListService.push(target, list!); + this.userListService.push(target, list!, user); } catch (e) { this.logger.warn(`Error in line:${linenum} ${e}`); } |