We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66d0576 commit 70ecddaCopy full SHA for 70ecdda
packages/wallet/backend/src/rafiki/service.ts
@@ -281,7 +281,7 @@ export class RafikiService implements IRafikiService {
281
const isExchange = NodeCacheInstance.get(wh.data.id)
282
if (userId && !isExchange) {
283
const messageType =
284
- wh.data.metadata.type === 'instant'
+ wh.data.metadata?.type === 'instant'
285
? MessageType.MONEY_SENT_SHOP
286
: MessageType.MONEY_SENT
287
await this.socketService.emitMoneySentByUserId(
0 commit comments