diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-12-10 18:24:26 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-12-10 18:24:26 +0900 |
| commit | bd903cdbb5a05ae4f6d0ac353ccacdfe64032606 (patch) | |
| tree | 7c8696567a07b821c81b80ca3956a400d873f221 /packages/backend/src/queue/index.ts | |
| parent | fix(client): メニューなどがウィンドウの裏に隠れる問題を... (diff) | |
| download | sharkey-bd903cdbb5a05ae4f6d0ac353ccacdfe64032606.tar.gz sharkey-bd903cdbb5a05ae4f6d0ac353ccacdfe64032606.tar.bz2 sharkey-bd903cdbb5a05ae4f6d0ac353ccacdfe64032606.zip | |
feat: カスタム絵文字エクスポート
Diffstat (limited to 'packages/backend/src/queue/index.ts')
| -rw-r--r-- | packages/backend/src/queue/index.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/backend/src/queue/index.ts b/packages/backend/src/queue/index.ts index c5a07673bd..2fbc1b1c01 100644 --- a/packages/backend/src/queue/index.ts +++ b/packages/backend/src/queue/index.ts @@ -117,6 +117,15 @@ export function createDeleteDriveFilesJob(user: ThinUser) { }); } +export function createExportCustomEmojisJob(user: ThinUser) { + return dbQueue.add('exportCustomEmojis', { + user: user, + }, { + removeOnComplete: true, + removeOnFail: true, + }); +} + export function createExportNotesJob(user: ThinUser) { return dbQueue.add('exportNotes', { user: user, |