Skip to content

Commit 47e4ec0

Browse files
committed
review error reporting and access control
1 parent a99a287 commit 47e4ec0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/accessControl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ AccessControl.prototype.createRole = function (name, actions) {
213213
* })
214214
*
215215
*/
216-
AccessControl.prototype.deleteRole = function (name) {
216+
AccessControl.prototype.deleteRole = function (name) {
217217
return this.dispatch(`${this.baseURL}/roles/${UTILS.encodeURISegment(name)}`, CONST.DELETE);
218218
};
219219

lib/typedef.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
* @module TypeDef
33
* @description Type definations
44
* */
5+
/* eslint-disable no-unused-vars */
6+
const { ACTIONS } = require('./utils');
57

6-
const {ACTIONS} = require('./utils');
7-
8-
/**
8+
/**
99
*@typedef {Object} DocParamsGet - the GET document interface query parameters
1010
*@property {GraphType} [graph_type] - instance|schema, default value is instance.
1111
*Used to switch between getting documents from the instance or the schema graph.

0 commit comments

Comments
 (0)