From b9d2c4e6e9fcebb60db0447a4325bac47af6dcb8 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Thu, 15 Jun 2023 15:41:39 +0800 Subject: [PATCH] fix(nocodb): Error only take 0 - 1 parameter --- .../controllers/test/TestResetService/resetPgSakilaProject.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/controllers/test/TestResetService/resetPgSakilaProject.ts b/packages/nocodb/src/controllers/test/TestResetService/resetPgSakilaProject.ts index be4bafc1c1..3e9abf5c22 100644 --- a/packages/nocodb/src/controllers/test/TestResetService/resetPgSakilaProject.ts +++ b/packages/nocodb/src/controllers/test/TestResetService/resetPgSakilaProject.ts @@ -150,7 +150,7 @@ const resetPgSakilaProject = async ({ ); if (response.status !== 200) { console.error('Error creating project', response.data); - throw new Error('Error creating project', response.data); + throw new Error(response.data); } };