Skip to content

Commit 8b4ced2

Browse files
committed
[squash] unique org and user names
1 parent 05ce51d commit 8b4ced2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

turnkey/src/app/actions.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ export const createSubOrganization = async (
3737
userName: string
3838
) => {
3939
const createSubOrgResponse = await turnkeyServer.createSubOrganization({
40-
subOrganizationName: "EVM Sub Org",
40+
subOrganizationName: `User Sub Org - ${userName}`,
4141
rootUsers: [
4242
{
43-
userName: "Default User Name",
43+
userName,
4444
userEmail: email,
4545
apiKeys: [],
4646
authenticators: [
@@ -55,7 +55,7 @@ export const createSubOrganization = async (
5555
],
5656
rootQuorumThreshold: 1,
5757
wallet: {
58-
walletName: "Default Wallet",
58+
walletName: "Default EVM Wallet",
5959
accounts: DEFAULT_ETHEREUM_ACCOUNTS,
6060
},
6161
});

0 commit comments

Comments
 (0)