From c28a1b61881c34fcc1228d4600f5bb4aa0b81b53 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 18 Sep 2024 11:57:54 -0700 Subject: account update and delete --- index.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'index.ts') diff --git a/index.ts b/index.ts index c654f4f2..c9a6f90c 100644 --- a/index.ts +++ b/index.ts @@ -80,8 +80,10 @@ app.post("/bitcoin/fee", auth, payments.fee); app.post("/bitcoin/send", auth, payments.send); app.get("/account/:id", auth, users.account); +app.post("/account/:id", auth, users.updateAccount); app.get("/accounts", auth, users.accounts); app.post("/accounts", auth, users.createAccount); +app.post("/account/delete", auth, users.deleteAccount); app.get("/users", auth, users.list); app.get("/me", auth, users.me); -- cgit v1.2.3