fix(E2E): add missing API mocks for invoices stats and portal billing #349

Merged
groombook-engineer[bot] merged 30 commits from fix/gro-693-e2e-fixes into dev 2026-05-04 15:05:40 +00:00
Showing only changes of commit 1e3bb77485 - Show all commits
+7 -3
View File
@@ -226,9 +226,13 @@ settingsRouter.get("/logo", async (c) => {
if (!row.logoKey) return c.json({ error: "No logo on file" }, 404);
const { body, contentType } = await getObject(row.logoKey);
c.header("Content-Type", contentType);
c.header("Cache-Control", "public, max-age=86400");
return c.body(body);
return new Response(Buffer.from(body), {
status: 200,
headers: {
"Content-Type": contentType,
"Cache-Control": "public, max-age=86400",
},
});
});
/**