From 64e3eae386e223c2220d83f82b4f9808af4b4518 Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Mon, 25 Nov 2024 09:07:11 -0700 Subject: [PATCH] Update sync-into-pglite.tsx (#2036) Fix for options --- website/src/partials/sync-into-pglite.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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'], })