aboutsummaryrefslogtreecommitdiffstats
path: root/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2014-08-22 23:32:42 -0700
committerAdam Soltys <[email protected]>2014-08-22 23:32:42 -0700
commitdec12454289461e6851b3b7328b5a80f56ce4a98 (patch)
tree394b18ad2fe0d875a689e8acee4d918397845300 /app.js
parent11390ded587c17ca06535c0826f2d2da94417d93 (diff)
downloadcoinos-server-dec12454289461e6851b3b7328b5a80f56ce4a98.tar.gz
coinos-server-dec12454289461e6851b3b7328b5a80f56ce4a98.zip
Log txids and prevent duplicates
Diffstat (limited to 'app.js')
-rw-r--r--app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app.js b/app.js
index c739c325..48bd8092 100644
--- a/app.js
+++ b/app.js
@@ -128,13 +128,13 @@
app.get('/:user/transactions.json', authorize, transactions.json);
- app.post('/:user/transactions', authorize, transactions.create);
+ app.post('/:user/transactions', transactions.create);
app.get('/:user/report', cache, authorize, transactions.index);
app.get('/:user.json', authorize, users.json);
- app.get('/:user', cache, authorize, users.show);
+ app.get('/:user', cache, users.show);
app.use(require('connect-assets')({
src: 'public'