chore(25-02): apply biome formatter to task 1 and 2 files

This commit is contained in:
2026-04-10 11:06:11 +02:00
parent e4a65314bd
commit fc9a9134e8
5 changed files with 195 additions and 151 deletions

View File

@@ -48,11 +48,15 @@ app.post("/", zValidator("json", upsertGlobalItemSchema), async (c) => {
});
// Bulk upsert — per D-06, D-07, D-08
app.post("/bulk", zValidator("json", bulkUpsertGlobalItemsSchema), async (c) => {
const db = c.get("db");
const { items } = c.req.valid("json");
const result = await bulkUpsertGlobalItems(db, items);
return c.json(result);
});
app.post(
"/bulk",
zValidator("json", bulkUpsertGlobalItemsSchema),
async (c) => {
const db = c.get("db");
const { items } = c.req.valid("json");
const result = await bulkUpsertGlobalItems(db, items);
return c.json(result);
},
);
export { app as globalItemRoutes };