From 2a1f7e4f315fae978cd6f8d1cfd291302984a7f9 Mon Sep 17 00:00:00 2001 From: Zach Date: Fri, 10 May 2024 23:25:37 -0500 Subject: [PATCH] removed training wheels to not break test cases --- lib/models/account-template.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/models/account-template.js b/lib/models/account-template.js index 2ec0b589..3271f435 100644 --- a/lib/models/account-template.js +++ b/lib/models/account-template.js @@ -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 + // } } /**