Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
developedsoftware committed Jan 8, 2024
1 parent ff997ec commit a110f83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ const rest_client_1 = require("../node_modules/ring-client-api/lib/api/rest-clie
const util_1 = require("../node_modules/ring-client-api/lib/api/");
const fs = require('fs');
async function acquireRefreshToken() {
const email = await (util_1.requestInput)('Email: '), password = await (util_1.requestInput)('Password: '), restClient = new rest_client_1.RingRestClient({ email, password }), getAuthWith2fa = async () => {
const code = await (util_1.requestInput)('2FA Code: ');
const email = await (void 0, util_1.requestInput)('Email: '), password = await (void 0, util_1.requestInput)('Password: '), restClient = new rest_client_1.RingRestClient({ email, password }), getAuthWith2fa = async () => {

Check failure on line 9 in src/token.ts

View workflow job for this annotation

GitHub Actions / build (14.6)

Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.
const code = await (void 0, util_1.requestInput)('2FA Code: ');
try {
return await restClient.getAuth(code);
}
Expand Down

0 comments on commit a110f83

Please sign in to comment.