Skip to content

Commit 93d643e

Browse files
committed
change to RestWrite.createSession
1 parent 1306da7 commit 93d643e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RestWrite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ RestWrite.prototype.createSessionToken = async function () {
861861
this.storage['authProvider'] = Object.keys(this.data.authData).join(',');
862862
}
863863

864-
const { sessionData, createSession } = RestWrite.createSession(this.config, {
864+
const { sessionData, createSession } = Auth.createSession(this.config, {
865865
userId: this.objectId(),
866866
createdWith: {
867867
action: this.storage['authProvider'] ? 'login' : 'signup',

0 commit comments

Comments
 (0)