@andrey4emk/npm-app-back-b24 0.5.23 → 0.5.24
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/bitrix24/b24.js +1 -1
- package/package.json +1 -1
package/bitrix24/b24.js
CHANGED
|
@@ -32,7 +32,7 @@ async function makeAuthParams(authParamB24, secretParamB24) {
|
|
|
32
32
|
|
|
33
33
|
export async function create(authParamB24, secretParamB24) {
|
|
34
34
|
let { AuthParams, secret } = await makeAuthParams(authParamB24, secretParamB24);
|
|
35
|
-
return new B24OAuth(AuthParams, secret);
|
|
35
|
+
return await new B24OAuth(AuthParams, secret);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
// Функция продления токена битрикс24 и сохранения в БД
|