This commit is contained in:
Martin McKeaveney 2023-03-31 15:33:34 +01:00
parent 30d08c13ab
commit cda9d8a095
1 changed files with 1 additions and 3 deletions

View File

@ -18,9 +18,7 @@ class PublicAPIClient {
constructor(appId?: string) {
if (!env.BUDIBASE_HOST) {
throw new Error(
"Must set BUDIBASE_HOST env var"
)
throw new Error("Must set BUDIBASE_HOST env var")
}
this.host = `${env.BUDIBASE_HOST}/api/public/v1`