From 43d6c04b5720d7e7e0a764e66d887ef638a7b8be Mon Sep 17 00:00:00 2001 From: Wan Qi Chen <495709+wa0x6e@users.noreply.github.com> Date: Sun, 11 Feb 2024 03:06:36 +0800 Subject: [PATCH] chore: lint fix --- src/providers/walletconnectNotify.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/providers/walletconnectNotify.ts b/src/providers/walletconnectNotify.ts index 4531b64..2c3aaec 100644 --- a/src/providers/walletconnectNotify.ts +++ b/src/providers/walletconnectNotify.ts @@ -28,7 +28,11 @@ const isConfigured = WALLETCONNECT_PROJECT_ID && WALLETCONNECT_NOTIFICATION_TYPE; -async function queueNotificationsToSend(notification_id: string, notification, accounts: string[]) { +async function queueNotificationsToSend( + notification_id: string, + notification, + accounts: string[] +) { for (let i = 0; i < accounts.length; i += MAX_ACCOUNTS_PER_REQUEST) { await sendNotification( notification_id, @@ -40,7 +44,11 @@ async function queueNotificationsToSend(notification_id: string, notification, a } } -export async function sendNotification(notification_id: string, notification, accounts: string[]) { +export async function sendNotification( + notification_id: string, + notification, + accounts: string[] +) { const notifyUrl = `${WALLETCONNECT_NOTIFY_SERVER_URL}/${WALLETCONNECT_PROJECT_ID}/notify`; const body = {