Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis Rico <[email protected]>
  • Loading branch information
SferaDev committed Sep 26, 2024
1 parent 625747c commit 7af246f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/client/src/schema/repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3574,6 +3574,7 @@ export const initObject = <T>(
record.replace = function (data: any, b?: any, c?: any) {
const columns = isValidSelectableColumns(b) ? b : ['*'];

// @ts-ignore
return db[table].createOrReplace(record['xata_id'] as any, data, columns);
};

Expand Down

0 comments on commit 7af246f

Please sign in to comment.