aboutsummaryrefslogtreecommitdiffstats
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/app.js b/app.js
index e5fa6f70..b568e65a 100644
--- a/app.js
+++ b/app.js
@@ -133,6 +133,10 @@
app.post('/:user/transactions', transactions.create);
+ app.post('/transactions/:txid', transactions.update);
+
+ app["delete"]('/:user/transactions/:txid', transactions["delete"]);
+
app.get('/:user/report', authorize, transactions.index);
app.get('/:user.json', users.json);