Skip to content

Commit 376a635

Browse files
committed
feat: lower case for team name
1 parent c9bb8e4 commit 376a635

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/codingServer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ export default class CodingServer {
181181
const pwd = encryptPassword(password);
182182
const emailPrefix = getEmailPrefix(email);
183183
const randomNum = Math.random().toString().slice(-5);
184-
const teamName = `dcloud-${emailPrefix}-${randomNum}`;
185-
console.log('teamName ==> ', teamName);
184+
const teamName = `dcloud-${emailPrefix}-${randomNum}`.toLowerCase();
185+
console.log('teamName: ', teamName);
186186

187187
const result = await axios({
188188
method: 'post',

0 commit comments

Comments
 (0)