bruce-models 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bruce-models.umd.js
CHANGED
|
@@ -5018,11 +5018,8 @@
|
|
|
5018
5018
|
return __generator(this, function (_a) {
|
|
5019
5019
|
switch (_a.label) {
|
|
5020
5020
|
case 0:
|
|
5021
|
-
if (!code || !
|
|
5022
|
-
throw ("
|
|
5023
|
-
}
|
|
5024
|
-
if (!(data === null || data === void 0 ? void 0 : data.Login) || !(data === null || data === void 0 ? void 0 : data.Password)) {
|
|
5025
|
-
throw ("Login and password are required.");
|
|
5021
|
+
if (!code || !(data === null || data === void 0 ? void 0 : data.Login) || !(data === null || data === void 0 ? void 0 : data.Password)) {
|
|
5022
|
+
throw ("Login, password, and activation code are required.");
|
|
5026
5023
|
}
|
|
5027
5024
|
data = JSON.parse(JSON.stringify(data));
|
|
5028
5025
|
data.IsActivated = true;
|