@auxcode/auxta 1.3.78-beta.111 → 1.3.78-beta.112
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.
|
@@ -160,7 +160,8 @@ class AuxGoogleAuth {
|
|
|
160
160
|
static getNewTokenHeadless(oAuth2Client) {
|
|
161
161
|
return __awaiter(this, void 0, void 0, function* () {
|
|
162
162
|
const position = Math.floor(Math.random() * 6);
|
|
163
|
-
|
|
163
|
+
const token = TOKENS[position];
|
|
164
|
+
oAuth2Client.setCredentials(token);
|
|
164
165
|
this._oAuth2Client = oAuth2Client;
|
|
165
166
|
code_helper_1.default.log('Then', 'I login with the google account', status_of_step_1.default.PASSED);
|
|
166
167
|
});
|