Skip to content

Commit

Permalink
fix: remove await
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbrugger committed Nov 2, 2023
1 parent d1eafce commit 545fec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/record-hook/src/RecordHook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const BulkRecordHook = async (
try {
const data = await event.data
return data.records && data.records.length
? await prepareXRecords(data.records)
? prepareXRecords(data.records)
: undefined
} catch (e) {
console.log(`Error fetching records: ${e}`)
Expand Down

0 comments on commit 545fec0

Please sign in to comment.