@riocrypto/common 1.0.1390 → 1.0.1393
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.
|
@@ -15,7 +15,6 @@ class RioAdminClient {
|
|
|
15
15
|
constructor(axios) {
|
|
16
16
|
this.axios = axios;
|
|
17
17
|
if (process.env.NEXT_PUBLIC_RUNNING_LOCAL === "true") {
|
|
18
|
-
this.axios.defaults.baseURL = "localhost";
|
|
19
18
|
this.axios.defaults.withCredentials = true;
|
|
20
19
|
}
|
|
21
20
|
if (process.env.NEXT_PUBLIC_FORCE_SANDBOX === "true") {
|
|
@@ -15,7 +15,6 @@ class RioClient {
|
|
|
15
15
|
constructor(axios) {
|
|
16
16
|
this.axios = axios;
|
|
17
17
|
if (process.env.NEXT_PUBLIC_RUNNING_LOCAL === "true") {
|
|
18
|
-
this.axios.defaults.baseURL = "localhost";
|
|
19
18
|
this.axios.defaults.withCredentials = true;
|
|
20
19
|
}
|
|
21
20
|
if (process.env.NEXT_PUBLIC_FORCE_SANDBOX === "true") {
|
|
@@ -169,7 +168,7 @@ class RioClient {
|
|
|
169
168
|
}
|
|
170
169
|
getOnboardingRequirements(userType, country, countryOfOrigin) {
|
|
171
170
|
return __awaiter(this, void 0, void 0, function* () {
|
|
172
|
-
const { data } = yield this.axios.get(`/api/users/
|
|
171
|
+
const { data } = yield this.axios.get(`/api/users/javier`, {
|
|
173
172
|
params: {
|
|
174
173
|
type: userType,
|
|
175
174
|
country,
|