⏸ Added a pause queue method

This commit is contained in:
2022-03-17 07:10:39 -07:00
parent 2cc00aff94
commit b5e29c1f5b
2 changed files with 11 additions and 0 deletions

View File

@@ -153,6 +153,13 @@ export default class QueueService extends Service {
});
},
},
pauseImportQueue: {
rest: "POST /pauseImportQueue",
params: {},
handler: async (ctx: Context<{}>) => {
return await this.getQueue("process.import").resume();
}
},
unarchiveComicBook: {
rest: "POST /unarchiveComicBook",
params: {},