Skip to content

Commit

Permalink
Update RESTController.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza committed Mar 23, 2024
1 parent 29dff69 commit 711b438
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/RESTController.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export type RequestOptions = {
progress?: any,
context?: any,
usePost?: boolean,
ignoreEmailVerification?: boolean,
};

export type FullOptions = {
Expand Down Expand Up @@ -249,6 +250,10 @@ const RESTController = {
}
}

if (options.ignoreEmailVerification !== undefined) {
payload.ignoreEmailVerification = options.ignoreEmailVerification;
}

if (CoreManager.get('FORCE_REVOCABLE_SESSION')) {
payload._RevocableSession = '1';
}
Expand Down

0 comments on commit 711b438

Please sign in to comment.