Some naming cleanup

This commit is contained in:
Dominic Ferrando
2026-07-17 14:57:28 -04:00
parent fde7d9a363
commit d4dacbaded
4 changed files with 17 additions and 18 deletions
+3 -3
View File
@@ -261,9 +261,9 @@ export const app = new Elysia()
}, {
params: t.Object({ id: t.String() })
})
.post("/:id/replay", async ({ params: { id } }) => {
const replayed = await s.Events.replay(id);
if (!replayed) throw new NotFoundError("Event not found or not in a failed state");
.post("/:id/retry", async ({ params: { id } }) => {
const retried = await s.Events.retry(id);
if (!retried) throw new NotFoundError("Event not found or not in a failed state");
}, {
params: t.Object({ id: t.String() })
})