fix(directAccess): Properly handle response status (#6966)
* fix(directAccess): Properly handle response status * clean up * handle status in batch
This commit is contained in:
@@ -1704,7 +1704,8 @@ RestWrite.prototype.runAfterSaveTrigger = function () {
|
||||
RestWrite.prototype.location = function () {
|
||||
var middle =
|
||||
this.className === '_User' ? '/users/' : '/classes/' + this.className + '/';
|
||||
return this.config.mount + middle + this.data.objectId;
|
||||
const mount = this.config.mount || this.config.serverURL;
|
||||
return mount + middle + this.data.objectId;
|
||||
};
|
||||
|
||||
// A helper to get the object id for this operation.
|
||||
|
||||
Reference in New Issue
Block a user