mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-13 08:12:40 +10:00
feat(invitations): completed admin UI, with minor changes to backend
This commit is contained in:
@ -9,6 +9,8 @@ export default defineEventHandler(async (h3) => {
|
||||
statusMessage: "id required in fetching invitation",
|
||||
});
|
||||
|
||||
await runTask("cleanup:invitations");
|
||||
|
||||
const invitation = await prisma.invitation.findUnique({ where: { id: id } });
|
||||
if (!invitation)
|
||||
throw createError({
|
||||
|
||||
Reference in New Issue
Block a user