Describe `access_token` param of `User.logout`

Add an explicit note that clients are not supposed to send the
`access_token` parameter, since it is extracted from request
headers.
This commit is contained in:
Miroslav Bajtoš 2014-01-30 14:35:49 +01:00
parent 6177aa2775
commit 03cb2f0556
1 changed files with 4 additions and 1 deletions

View File

@ -403,7 +403,10 @@ User.setup = function () {
var tokenID = accessToken && accessToken.id;
return tokenID;
}}
}, description:
'Do not supply this argument, it is automatically extracted ' +
'from request headers.'
}
],
http: {verb: 'all'}
}