Skip to content

Commit 37adfad

Browse files
committed
chore: update for linting fixes
1 parent 39bce37 commit 37adfad

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/common/pay_theory_types.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// noinspection JSUnusedGlobalSymbols
2-
// eslint-disable no-unused-vars
1+
/* eslint-disable no-unused-vars */
2+
/* noinspection JSUnusedGlobalSymbols */
33

44
import { defaultElementIds, ElementTypes, MERCHANT_FEE, SERVICE_FEE } from './data';
55

src/components/pay-theory-hosted-field-transactional/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/* eslint-disable no-unused-vars */
2+
23
/* eslint-disable no-empty-function */
34

45
import PayTheoryHostedField from '../pay-theory-hosted-field';
@@ -173,7 +174,7 @@ class PayTheoryHostedFieldTransactional extends PayTheoryHostedField {
173174
try {
174175
const ptToken = await common.fetchPtToken(this._apiKey!, this._session);
175176
if (ptToken) {
176-
this._challengeOptions = ptToken['challengeOptions'];
177+
this._challengeOptions = ptToken.challengeOptions;
177178
const transactingIFrame = document.getElementById(this._transactingIFrameId) as
178179
| HTMLIFrameElement
179180
| undefined;

0 commit comments

Comments
 (0)