π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: if base type missing, fallback to `database`
Pranav C35895e55552e
diff --git a/tests/playwright/setup/index.ts b/tests/playwright/setup/index.tsindex 53a9db6473..ac038c5242 100644--- a/tests/playwright/setup/index.ts+++ b/tests/playwright/setup/index.ts@@ -483,15 +483,15 @@ const setup = async ({// default landing page for testslet baseUrl;if (isEE()) {- switch (base.type) {+ const type = base.type || ProjectTypes.DATABASE;++ switch (type) {case ProjectTypes.DOCUMENTATION:baseUrl = url ? url : `/#/${base.fk_workspace_id}/${base.id}/doc`;break;case ProjectTypes.DATABASE:baseUrl = url ? url : `/#/${base.fk_workspace_id}/${base.id}`;break;- default:- throw new Error(`Unknown base type: ${base.type}`);}} else {// sample: http://localhost:3000/#/ws/default/base/pdknlfoc5e7bx4w