wt-front-shared 19.0.9 → 19.0.10
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.
|
@@ -1843,7 +1843,6 @@ class Behavior {
|
|
|
1843
1843
|
}
|
|
1844
1844
|
}
|
|
1845
1845
|
|
|
1846
|
-
;
|
|
1847
1846
|
class LoginSendBehavior extends Behavior {
|
|
1848
1847
|
constructor(action, result) {
|
|
1849
1848
|
super(action);
|
|
@@ -1853,6 +1852,7 @@ class LoginSendBehavior extends Behavior {
|
|
|
1853
1852
|
resolve() {
|
|
1854
1853
|
const status = this.result.data.status;
|
|
1855
1854
|
let returnedActions;
|
|
1855
|
+
console.log('LoginSendBehavior', this.result.data);
|
|
1856
1856
|
switch (status) {
|
|
1857
1857
|
case ResponseStatus.STATUS_200: {
|
|
1858
1858
|
const response = this.result.data;
|
|
@@ -2021,16 +2021,6 @@ class BaseAPIService {
|
|
|
2021
2021
|
}
|
|
2022
2022
|
});
|
|
2023
2023
|
}
|
|
2024
|
-
console.log('base-api.updateRequestData', {
|
|
2025
|
-
endPointUrl,
|
|
2026
|
-
itemId,
|
|
2027
|
-
secondEndPointUrl,
|
|
2028
|
-
formId: response?.body?.meta?.formId || formId,
|
|
2029
|
-
method: params.httpMethod,
|
|
2030
|
-
status: this.statuses.LOADED,
|
|
2031
|
-
data: response?.body?.data,
|
|
2032
|
-
subRouting
|
|
2033
|
-
});
|
|
2034
2024
|
this.requestsFacade.updateRequestData({
|
|
2035
2025
|
endPointUrl,
|
|
2036
2026
|
itemId,
|
|
@@ -3034,6 +3024,7 @@ class UsersEffects {
|
|
|
3034
3024
|
password,
|
|
3035
3025
|
formId
|
|
3036
3026
|
};
|
|
3027
|
+
console.log('config', config);
|
|
3037
3028
|
return this.usersService.loginSend(config)
|
|
3038
3029
|
.pipe(flatMap((r) => new LoginSendBehavior(action, r).resolve()));
|
|
3039
3030
|
}), catchError(error => of(LoginSendFail(error)))));
|