fix(gro66): E2E selector ambiguity in impersonation.spec.ts #128

Merged
groombook-engineer[bot] merged 10 commits from fix/gro66-e2e-selector into main 2026-03-27 14:23:19 +00:00
Showing only changes of commit a8bfefe7b5 - Show all commits
+9 -9
View File
@@ -140,10 +140,10 @@ portalRouter.post("/appointments/:id/confirm", async (c) => {
}
return c.json({
id: updated.id,
confirmationStatus: updated.confirmationStatus,
confirmedAt: updated.confirmedAt,
updatedAt: updated.updatedAt,
id: updated!.id,
confirmationStatus: updated!.confirmationStatus,
confirmedAt: updated!.confirmedAt,
updatedAt: updated!.updatedAt,
});
});
@@ -204,11 +204,11 @@ portalRouter.post("/appointments/:id/cancel", async (c) => {
}
return c.json({
id: updated.id,
status: updated.status,
confirmationStatus: updated.confirmationStatus,
cancelledAt: updated.cancelledAt,
updatedAt: updated.updatedAt,
id: updated!.id,
status: updated!.status,
confirmationStatus: updated!.confirmationStatus,
cancelledAt: updated!.cancelledAt,
updatedAt: updated!.updatedAt,
});
});