diff --git a/website/src/partials/sync-into-pglite.tsx b/website/src/partials/sync-into-pglite.tsx index 23fbf4cd8e..1513be044a 100644 --- a/website/src/partials/sync-into-pglite.tsx +++ b/website/src/partials/sync-into-pglite.tsx @@ -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'], })