aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-04-07 13:13:36 -0700
committerAdam Soltys <[email protected]>2025-04-07 13:13:47 -0700
commitfb5ae5bb2e3471df9471cb334e0c31fc6c9dcfcb (patch)
tree3993c5008a6b09af34346d47503510a47e5d2fe4 /index.ts
parent425e712177de6f2d47e7d0486a347f0cbf4e0d0d (diff)
downloadcoinos-server-fb5ae5bb2e3471df9471cb334e0c31fc6c9dcfcb.tar.gz
coinos-server-fb5ae5bb2e3471df9471cb334e0c31fc6c9dcfcb.zip
credits
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.ts b/index.ts
index db9d1cec..27decf34 100644
--- a/index.ts
+++ b/index.ts
@@ -103,6 +103,7 @@ app.post("/account/delete", auth, users.deleteAccount);
app.get("/users", auth, users.list);
app.get("/me", auth, users.me);
+app.get("/credits", auth, users.credits);
app.get("/users/:key", users.get);
app.post("/register", users.create);
app.post("/disable2fa", auth, users.disable2fa);