Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
claabs committed Jul 29, 2022
1 parent fad7eff commit 64f5f08
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
'import/prefer-default-export': 0,
'no-shadow': 'off',
'@typescript-eslint/no-shadow': ['error'],
'import/no-extraneous-dependencies': ['error', { devDependencies: ['test/**/*.ts', 'scripts/**/*.ts'] }],
'import/no-extraneous-dependencies': ['error', { devDependencies: ['test/**/*.ts', 'scripts/**/*'] }],
'camelcase': 0,
},
settings: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": "rimraf dist && tsc",
"lint": "tsc --noEmit && eslint .",
"gen-proto": "protoc proto/*/*.proto --proto_path=proto --plugin=node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=src/generated/. --ts_proto_opt=onlyTypes=true --ts_proto_opt=outputEncodeMethods=false --ts_proto_opt=outputJsonMethods=false --ts_proto_opt=esModuleInterop=true --ts_proto_opt=env=node --ts_proto_opt=useOptionals=messages",
"gen-configuration": "ts-node scripts/generate-configuration-types.ts"
"gen-configuration": "node scripts/generate-configuration-types.js"
},
"types": "dist/src/index.d.ts",
"author": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const main = async () => {
} else {
const totp = new TOTP({ secret: Secret.fromBase32(totpSecret) });
const mfaResp = await ubiServices.login2fa(
loginResp.twoFactorAuthenticationTicket as string,
loginResp.twoFactorAuthenticationTicket,
totp.generate()
);
ticket = mfaResp.ticket;
Expand Down

0 comments on commit 64f5f08

Please sign in to comment.