diff options
| author | Adam Soltys <[email protected]> | 2014-08-24 21:46:41 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2014-08-24 21:46:41 -0700 |
| commit | aaadb000fd4dc2fb9758ba92d1ea3d15871c096f (patch) | |
| tree | ce8074d2e0933f88003196c1a83a9ab9b8db6710 /src/app.coffee | |
| parent | affe228986f76b06aa96b3789852a01f8a950644 (diff) | |
| download | coinos-server-aaadb000fd4dc2fb9758ba92d1ea3d15871c096f.tar.gz coinos-server-aaadb000fd4dc2fb9758ba92d1ea3d15871c096f.zip | |
Transaction notes and delete function
Diffstat (limited to 'src/app.coffee')
| -rw-r--r-- | src/app.coffee | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app.coffee b/src/app.coffee index 4198754c..01e6fb15 100644 --- a/src/app.coffee +++ b/src/app.coffee @@ -77,6 +77,8 @@ app.post('/:user', authorize, users.update) app.get('/:user/transactions.json', authorize, transactions.json) 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) |
