We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf30862 commit 1a87bb2Copy full SHA for 1a87bb2
packages/wallet/backend/src/gatehub/client.ts
@@ -587,7 +587,7 @@ export class GateHubClient {
587
588
const res = await resp.json()
589
590
- return res
+ return res as ICardDetailsResponse
591
// const cardPinUrl = `${this.apiUrl}/v1/proxy/clientDevice/pin`
592
// const cardPinResponse = await this.request<ICardDetailsResponse>(
593
// 'GET',
@@ -636,7 +636,7 @@ export class GateHubClient {
636
})
637
638
if (!response.ok) {
639
- let info = ''
+ let info
640
if (response.headers.get('content-type') === 'application/json') {
641
info = await response.json()
642
} else {
0 commit comments