@movalib/movalib-commons 1.1.58 → 1.1.60
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.
|
@@ -111,7 +111,8 @@ var AccountValidation = function (_a) {
|
|
|
111
111
|
var params = new URLSearchParams(location.search);
|
|
112
112
|
var req = {
|
|
113
113
|
token: params.get('token'),
|
|
114
|
-
password: passwordForm.password.value
|
|
114
|
+
password: passwordForm.password.value,
|
|
115
|
+
demoGarage: Boolean(params.get('demoGarage'))
|
|
115
116
|
};
|
|
116
117
|
activateAccount(req);
|
|
117
118
|
}
|
|
@@ -16,7 +16,7 @@ var GarageService = /** @class */ (function () {
|
|
|
16
16
|
return (0, ApiHelper_1.request)({
|
|
17
17
|
url: "".concat(ApiHelper_1.API_BASE_URL, "/garage/sales-signup"),
|
|
18
18
|
method: Enums_1.APIMethod.POST,
|
|
19
|
-
appType: Enums_1.MovaAppType.
|
|
19
|
+
appType: Enums_1.MovaAppType.GARAGE,
|
|
20
20
|
body: formData
|
|
21
21
|
});
|
|
22
22
|
};
|
package/package.json
CHANGED
|
@@ -127,7 +127,8 @@ const AccountValidation: FunctionComponent<AccountValidationProps> = ({ movaAppT
|
|
|
127
127
|
|
|
128
128
|
let req = {
|
|
129
129
|
token: params.get('token'),
|
|
130
|
-
password: passwordForm.password.value
|
|
130
|
+
password: passwordForm.password.value,
|
|
131
|
+
demoGarage: Boolean(params.get('demoGarage'))
|
|
131
132
|
}
|
|
132
133
|
|
|
133
134
|
activateAccount(req);
|