File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ const asUserCountry = asObject({
4343 code : asString
4444} )
4545const asUser = asObject ( {
46- id : asString ,
47- email : asString ,
46+ // id: asString,
47+ // email: asString,
4848 country : asEither ( asUserCountry , asNull )
4949} )
5050// const asExchangeRate = asObject({
@@ -273,8 +273,7 @@ export function processPaybisTx(rawTx: unknown): StandardTx {
273273 const payoutAmount = Number ( receivedOriginal . amount )
274274 const depositTxid = gateway === 'crypto_to_fiat' ? hash : undefined
275275 const payoutTxid = gateway === 'fiat_to_crypto' ? hash : undefined
276-
277- const direction = ( gateway === 'fiat_to_crypto' ) == null ? 'buy' : 'sell'
276+ const direction = gateway === 'fiat_to_crypto' ? 'buy' : 'sell'
278277
279278 const standardTx : StandardTx = {
280279 status : statusMap [ tx . status ] ,
@@ -314,6 +313,8 @@ function getFiatPaymentType(
314313 case 'FPX' :
315314 // Idk?
316315 return 'fpx'
316+ case 'Google Pay' :
317+ return 'googlepay'
317318 case 'Giropay' :
318319 return 'giropay'
319320 case 'Neteller' :
You can’t perform that action at this time.
0 commit comments