@darkauth/client 1.20.0 → 1.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -686,7 +686,7 @@ export async function getSessionInfo() {
|
|
|
686
686
|
};
|
|
687
687
|
}
|
|
688
688
|
export async function switchOrganization(organizationId, options = {}) {
|
|
689
|
-
const mode = options.mode || "
|
|
689
|
+
const mode = options.mode || "authorize";
|
|
690
690
|
if (mode === "silent") {
|
|
691
691
|
const response = await fetch(rootEndpoint("/api/user/session/organization"), {
|
|
692
692
|
method: "POST",
|