Skip to content

Commit 5fba636

Browse files
committed
fix typo
1 parent f9e108c commit 5fba636

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/RestWrite.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ RestWrite.prototype.execute = function() {
9696
return this.runBeforeTrigger();
9797
})
9898
.then(() => {
99-
return this.deleteEmailRestTokenIfNeeded();
99+
return this.deleteEmailResetTokenIfNeeded();
100100
})
101101
.then(() => {
102102
return this.validateSchema();
@@ -749,7 +749,7 @@ RestWrite.prototype.createSessionToken = function() {
749749
};
750750

751751
// Delete email reset tokens if user is changing password or email.
752-
RestWrite.prototype.deleteEmailRestTokenIfNeeded = function() {
752+
RestWrite.prototype.deleteEmailResetTokenIfNeeded = function() {
753753
if (this.className !== '_User' || this.query === null) {
754754
// null query means create
755755
return;

0 commit comments

Comments
 (0)