Remove orphans task

This commit is contained in:
Ben Grant 2021-06-19 13:12:51 +10:00
parent b5db9334c8
commit 2282dc2a14
8 changed files with 75 additions and 2 deletions

View file

@ -243,3 +243,16 @@ paths:
description: "Not found"
400:
description: "Not called from a cron job"
"/tasks/removeOrphans":
get:
summary: "Deletes people if the event they were created under no longer exists"
operationId: "taskRemoveOrphans"
tags:
- tasks
responses:
200:
description: "OK"
404:
description: "Not found"
400:
description: "Not called from a cron job"