Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
absorbb committed Jan 20, 2025
1 parent 2bee02c commit 2b64a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapps/console/lib/server/custom-domains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export async function isDomainAvailable(domain: string, workspaceId: string): Pr
and "workspaceId" <> ${workspaceId}
and deleted = false
union
select id,type, "workspaceId", json_array(config->'name') as domains
select id,type, "workspaceId", jsonb_build_array(config->'name') as domains
from newjitsu."ConfigurationObject"
where type = 'domain'
and (config->>'name' ilike ${pattern} or ${domain.toLowerCase()} ilike REPLACE(config->>'name','*','%') )
Expand Down

0 comments on commit 2b64a39

Please sign in to comment.