Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlabo committed Aug 12, 2024
1 parent b77a934 commit 40c8283
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions demo/angular/src/app/terminal/terminal.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export class TerminalPage {
const result = await StripeTerminal.discoverReaders({
type: readerType,
locationId:
this.platform.is('android') && [TerminalConnectTypes.Bluetooth, TerminalConnectTypes.Usb].includes(
[TerminalConnectTypes.Usb].includes(
readerType,
)
? 'tml_Ff37mAmk1XdBYT'
Expand Down Expand Up @@ -211,11 +211,9 @@ export class TerminalPage {
const result = await StripeTerminal.discoverReaders({
type: readerType,
locationId:
this.platform.is('android') && [TerminalConnectTypes.Bluetooth, TerminalConnectTypes.Usb].includes(
readerType,
)
? 'tml_Ff37mAmk1XdBYT'
: 'tml_FOUOdQVIxvVdvN',
[TerminalConnectTypes.Usb].includes(readerType)
? 'tml_Ff37mAmk1XdBYT' // Auckland, New Zealand
: 'tml_FOUOdQVIxvVdvN', // San Francisco, CA 94110
}).catch((e) => {
this.helper.updateItem(this.eventItems, 'discoverReaders', false);
throw e;
Expand Down

0 comments on commit 40c8283

Please sign in to comment.