diff --git a/packages/db/src/core/cli/commands/push/index.ts b/packages/db/src/core/cli/commands/push/index.ts index 738eb877f2..d4dd9c5151 100644 --- a/packages/db/src/core/cli/commands/push/index.ts +++ b/packages/db/src/core/cli/commands/push/index.ts @@ -94,9 +94,7 @@ async function pushSchema({ console.error(await response.text()); throw new Error(`/db/push fetch failed: ${response.status} ${response.statusText}`); } - const result = (await response.json()) as - | { success: false; } - | { success: true; }; + const result = (await response.json()) as { success: false } | { success: true }; if (!result.success) { console.error(`${url.toString()} unsuccessful`); console.error(await response.text());