mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-29 09:58:07 +01:00
fix deletion of scheduled note
This commit is contained in:
parent
116a147202
commit
f02d099413
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
throw new ApiError(meta.errors.permissionDenied);
|
||||
}
|
||||
await this.noteScheduleRepository.delete({ id: ps.noteId });
|
||||
await this.queueService.ScheduleNotePostQueue.remove(ps.noteId);
|
||||
await this.queueService.ScheduleNotePostQueue.remove(`schedNote:${ps.noteId}`);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue