mirror of
https://github.com/kikootwo/ReadMeABook.git
synced 2026-06-02 20:30:10 +00:00
cleanup dep jobs
This commit is contained in:
@@ -175,10 +175,7 @@ export class SchedulerService {
|
||||
*/
|
||||
private async cleanupDeprecatedJobs(): Promise<void> {
|
||||
try {
|
||||
const deprecatedTypes = [
|
||||
'sync_goodreads_shelves',
|
||||
'sync_hardcover_shelves',
|
||||
];
|
||||
const deprecatedTypes = ['sync_goodreads_shelves'];
|
||||
|
||||
const obsoleteJobs = await prisma.scheduledJob.findMany({
|
||||
where: { type: { in: deprecatedTypes } },
|
||||
|
||||
Reference in New Issue
Block a user