There was an error while loading. Please reload this page.
1 parent e877a70 commit ef518d1Copy full SHA for ef518d1
src/routes/api.ts
@@ -26,7 +26,7 @@ export function createRouter(context: Context) {
26
});
27
28
29
- router.post("/keys/:key/remove", async (req, res) => {
+ router.delete("/keys/:key", async (req, res) => {
30
const { key } = req.params;
31
const keyType: KeyType = req.body.keyType;
32
const result = await context.cckey[keyType].deleteKey({ publicKey: key });
0 commit comments