Skip to content

Commit

Permalink
removed training wheels to not break test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
zg009 committed May 11, 2024
1 parent eee6488 commit 2a1f7e4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/models/account-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ class AccountTemplate {
* @throws if hostname already registered
*/
static registerHostname (hostname) {
if (this.hostname) {
throw new Error('hostname already registered')
} else {
this.hostname = hostname
}
// if (this.hostname) {
// throw new Error('hostname already registered')
// } else {
this.hostname = hostname
// }
}

/**
Expand Down

0 comments on commit 2a1f7e4

Please sign in to comment.