Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #397 from threefoldtech/development_lowercase_solu…
Browse files Browse the repository at this point in the history
…tion_name

convert domain name to lowercase
  • Loading branch information
xmonader authored Dec 30, 2021
2 parents 87342db + 7c04e91 commit cd970a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/gatewayHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export async function selectGatewayNode() {

export async function getUniqueDomainName(client, solution_type, name) {
let twin_id = await client.twins.get_my_twin_id();
return `${solution_type}${twin_id}${name}`;
return `${solution_type}${twin_id}${name.toLowerCase()}`;
}

0 comments on commit cd970a2

Please sign in to comment.