little fix
This commit is contained in:
@@ -9,6 +9,9 @@
|
||||
"peerDependencies": {
|
||||
"typescript": "^5"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "bun --watch index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"hono": "^4.10.7"
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ app.post("/api/v1/ext/add_one", async (c) => {
|
||||
$SAFE: newExtension.SAFE,
|
||||
$UPDATE_DATE: newExtension.UPDATE_DATE,
|
||||
$NOTES: newExtension.NOTES,
|
||||
});
|
||||
} as any);
|
||||
|
||||
return c.json(newExtension);
|
||||
});
|
||||
@@ -112,7 +112,7 @@ app.post("/api/v1/ext/add_batch", async (c) => {
|
||||
$SAFE: newExtension.SAFE,
|
||||
$UPDATE_DATE: newExtension.UPDATE_DATE,
|
||||
$NOTES: newExtension.NOTES,
|
||||
});
|
||||
} as any);
|
||||
|
||||
createdExtensions.push(newExtension);
|
||||
}
|
||||
@@ -168,7 +168,7 @@ app.put("/api/v1/ext/update_one/:item_id", async (c) => {
|
||||
$NOTES: nextExt.NOTES,
|
||||
$UPDATE_DATE: nextExt.UPDATE_DATE,
|
||||
$ID: nextExt.ID,
|
||||
});
|
||||
} as any);
|
||||
}
|
||||
|
||||
return c.json(nextExt);
|
||||
|
||||
Reference in New Issue
Block a user