Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Commit

Permalink
match py-walletconnect-bridge version
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrouid committed Dec 12, 2018
1 parent 8f64345 commit 7b9b950
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ callRouter.post('/new', async(req, res) => {

// notify wallet app using push notification
const { push } = await keystore.getSessionDetails(sessionId)
await sendPushNotification(push, sessionId, callId, dappName)
if (push) {
await sendPushNotification(push, sessionId, callId, dappName)
}

// return call id
return res.status(201).json({
Expand Down

0 comments on commit 7b9b950

Please sign in to comment.