JSDoc fixes
This commit is contained in:
parent
14c73cbe9d
commit
ad347e517c
|
@ -136,13 +136,11 @@ Model._ACL = function getACL(ACL) {
|
||||||
* Check if the given access token can invoke the method
|
* Check if the given access token can invoke the method
|
||||||
*
|
*
|
||||||
* @param {AccessToken} token The access token
|
* @param {AccessToken} token The access token
|
||||||
* @param {*} modelId The model id
|
* @param {*} modelId The model ID.
|
||||||
* @param {SharedMethod} sharedMethod
|
* @param {SharedMethod} sharedMethod The method in question
|
||||||
* @param callback The callback function
|
* @callback {Function} callback The callback function
|
||||||
*
|
|
||||||
* @callback {Function} callback
|
|
||||||
* @param {String|Error} err The error object
|
* @param {String|Error} err The error object
|
||||||
* @param {Boolean} allowed is the request allowed
|
* @param {Boolean} allowed True if the request is allowed; false otherwise.
|
||||||
*/
|
*/
|
||||||
Model.checkAccess = function(token, modelId, sharedMethod, callback) {
|
Model.checkAccess = function(token, modelId, sharedMethod, callback) {
|
||||||
var ANONYMOUS = require('./access-token').ANONYMOUS;
|
var ANONYMOUS = require('./access-token').ANONYMOUS;
|
||||||
|
|
Loading…
Reference in New Issue