Fix error when unset user email (#1778)
This commit is contained in:
@@ -356,7 +356,7 @@ RestWrite.prototype.transformUser = function() {
|
||||
return Promise.resolve();
|
||||
});
|
||||
}).then(() => {
|
||||
if (!this.data.email) {
|
||||
if (!this.data.email || this.data.email.__op === 'Delete') {
|
||||
return;
|
||||
}
|
||||
// Validate basic email address format
|
||||
|
||||
Reference in New Issue
Block a user