Skip to content

Commit

Permalink
Update sync-into-pglite.tsx (#2036)
Browse files Browse the repository at this point in the history
Fix for options
  • Loading branch information
KyleAMathews authored Nov 25, 2024
1 parent ce3f3e2 commit 64e3eae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions website/src/partials/sync-into-pglite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ await pg.exec(`

// Establish a persistent shape subscription
await pg.electric.syncShapeToTable({
// TODO update this when the sync plugin is updated.
url: `${BASE_URL}/v1/shape`,
shape: { url: `${BASE_URL}/v1/shape` },
table: 'items',
primaryKey: ['id'],
})
Expand Down

0 comments on commit 64e3eae

Please sign in to comment.