chore(25-02): apply biome formatter to task 1 and 2 files
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user