diff options
| author | Adam Soltys <[email protected]> | 2024-09-18 11:57:54 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-18 11:57:54 -0700 |
| commit | c28a1b61881c34fcc1228d4600f5bb4aa0b81b53 (patch) | |
| tree | 999165339608443f64ed4a179bdfec2ce0e0f931 /index.ts | |
| parent | 3a493d30daa964b8dcb0bf1c74df995d8dc9fa32 (diff) | |
| download | coinos-server-c28a1b61881c34fcc1228d4600f5bb4aa0b81b53.tar.gz coinos-server-c28a1b61881c34fcc1228d4600f5bb4aa0b81b53.zip | |
account update and delete
Diffstat (limited to 'index.ts')
| -rw-r--r-- | index.ts | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |
