mirror of
https://github.com/open-reception/appointment-booking-software.git
synced 2026-09-20 16:07:40 +02:00
53 Fix for type error that I don't see locally?!?
This commit is contained in:
@@ -70,7 +70,7 @@ export class TenantAdminService {
|
||||
|
||||
const configuration = TenantAdminService.getConfigDefaults();
|
||||
|
||||
const urlParts = env.DATABASE_URL.split("/");
|
||||
const urlParts = env.DATABASE_URL?.split("/") ?? [];
|
||||
urlParts.pop();
|
||||
|
||||
const newTenant: InsertTenant = { ...request, longName: "", databaseUrl: "" };
|
||||
|
||||
Reference in New Issue
Block a user