* Add revokeSessionOnPasswordReset option * Fix nits
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
var Parse = require('parse/node').Parse;
|
||||
import cache from './cache';
|
||||
import Auth from './Auth';
|
||||
import Auth from './Auth';
|
||||
|
||||
var RestQuery = require('./RestQuery');
|
||||
var RestWrite = require('./RestWrite');
|
||||
@@ -96,7 +96,6 @@ function create(config, auth, className, restObject) {
|
||||
// Usually, this is just updatedAt.
|
||||
function update(config, auth, className, objectId, restObject) {
|
||||
enforceRoleSecurity('update', className, auth);
|
||||
|
||||
return Promise.resolve().then(() => {
|
||||
if (triggers.getTrigger(className, triggers.Types.beforeSave, config.applicationId) ||
|
||||
triggers.getTrigger(className, triggers.Types.afterSave, config.applicationId) ||
|
||||
|
||||
Reference in New Issue
Block a user