Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Raphael Ochsenbein
openid-connect-playground
Commits
3d52c840
Verified
Commit
3d52c840
authored
Feb 22, 2019
by
Raphael Ochsenbein
Browse files
fix transfer api
parent
eda86f25
Pipeline
#640
passed with stages
in 1 minute and 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
api/server.js
View file @
3d52c840
...
...
@@ -42,8 +42,6 @@ app.get('/balance', checkJwt, jwtAuthz(['view:balance']), function (req, res) {
app
.
post
(
'
/transfer
'
,
checkJwt
,
jwtAuthz
([
'
transfer:funds
'
]),
function
(
req
,
res
)
{
// code that transfers funds from one account to another
checkJwt
.
res
.
status
(
201
).
send
({
message
:
"
This is the POST /transfer endpoint
"
});
});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment