@subiz/widget-v4 4.1.11 → 4.1.12
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/compiled_src/store/api.js +1 -1
- package/package.json +1 -1
- package/src/store/api.js +1 -1
|
@@ -223,7 +223,7 @@ class _default {
|
|
|
223
223
|
for (let i = 0; true; i++) {
|
|
224
224
|
await this.token_generator(true);
|
|
225
225
|
if (tokensession != this.tokensession) break;
|
|
226
|
-
outuser = await ajax.setBaseUrl(this.ApiURL).withCredentials(true).addQuery('v', '6').addQuery('x-access-token', this.last_token).setParser('json').get(`/accounts/${accid}/users/${profile_id}`);
|
|
226
|
+
outuser = await ajax.setBaseUrl(this.ApiURL).withCredentials(true).addQuery('v', '6').addQuery('x-access-token', this.last_token).setParser('json').get(`/accounts/${this.accid}/users/${profile_id}`);
|
|
227
227
|
if (!_index.default.get(outuser, 'body.id')) {
|
|
228
228
|
let sleeptime = Math.min(2000 + i * 100, 120000);
|
|
229
229
|
await _index.default.sleep(sleeptime);
|
package/package.json
CHANGED
package/src/store/api.js
CHANGED
|
@@ -160,7 +160,7 @@ export default class {
|
|
|
160
160
|
.addQuery('v', '6')
|
|
161
161
|
.addQuery('x-access-token', this.last_token)
|
|
162
162
|
.setParser('json')
|
|
163
|
-
.get(`/accounts/${accid}/users/${profile_id}`)
|
|
163
|
+
.get(`/accounts/${this.accid}/users/${profile_id}`)
|
|
164
164
|
if (!sb.get(outuser, 'body.id')) {
|
|
165
165
|
let sleeptime = Math.min(2000 + i * 100, 120000)
|
|
166
166
|
await sb.sleep(sleeptime)
|