Skip to content

Commit

Permalink
fix axios
Browse files Browse the repository at this point in the history
  • Loading branch information
backmeupplz committed Oct 28, 2022
1 parent a3c8690 commit f3b5ccc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/helpers/startPolling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async function pollNotifications(
let next = ''
const notifications = [] as Notification[]
do {
const data = await fetchNotifications(next, farcasterAddress)
const { data } = await fetchNotifications(next, farcasterAddress)
notifications.push(...Object.values(data.result.notifications || {}))
if (currentNotificationId) {
next = data.meta?.next || ''
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
},
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"strict": true
"strict": true,
"allowSyntheticDefaultImports": true
},
"include": ["src/**/*"]
}

0 comments on commit f3b5ccc

Please sign in to comment.