Exposes clientSDK into RestQuery, RestWrite and rest
This commit is contained in:
@@ -14,12 +14,13 @@ import { default as FilesController } from './Controllers/FilesController';
|
||||
// include
|
||||
// keys
|
||||
// redirectClassNameForKey
|
||||
function RestQuery(config, auth, className, restWhere = {}, restOptions = {}) {
|
||||
function RestQuery(config, auth, className, restWhere = {}, restOptions = {}, clientSDK) {
|
||||
|
||||
this.config = config;
|
||||
this.auth = auth;
|
||||
this.className = className;
|
||||
this.restWhere = restWhere;
|
||||
this.clientSDK = clientSDK;
|
||||
this.response = null;
|
||||
this.findOptions = {};
|
||||
if (!this.auth.isMaster) {
|
||||
|
||||
Reference in New Issue
Block a user