feat(domains): support username root domain claims
Build and publish Docker image / build-and-publish (push) Successful in 9s

This commit is contained in:
wfalkowski committed 2026-10-20 18:14:30 +00:00
1 parent 2768f5f97d
commit 079140ce49
4 files changed
+19 -14

No files matched your search

+2 -2
View File
@@ -113,10 +113,10 @@ def create_domain_api():
return jsonify({'error': 'Domain service not available'}), 503
data = request.get_json()
subdomain = data.get('subdomain')
subdomain = '' if data.get('useUsernameDomain') is True else data.get('subdomain')
server_id = data.get('serverId')
if not subdomain:
if subdomain is None:
return jsonify({'error': 'Subdomain name required'}), 400
# Check if subdomain is available