Skip to content

Commit

Permalink
prepareXRecords to non-async
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbrugger committed Nov 2, 2023
1 parent 545fec0 commit 18421f4
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 @@ -151,7 +151,7 @@ function deepEqual(obj1, obj2) {
return true
}

const prepareXRecords = async (records: any): Promise<FlatfileRecords<any>> => {
const prepareXRecords = (records: any): FlatfileRecords<any> => {
const clearedMessages: Flatfile.Record_[] = records.map(
(record: { values: { [x: string]: { messages: never[] } } }) => {
// clear existing cell validation messages
Expand Down

0 comments on commit 18421f4

Please sign in to comment.