bug fixed
This commit is contained in:
parent
a7fb5b2c4b
commit
6342bf0f64
|
@ -58,13 +58,6 @@ import {
|
||||||
export class Effects {
|
export class Effects {
|
||||||
retrieveMessage$ = createEffect(
|
retrieveMessage$ = createEffect(
|
||||||
() => {
|
() => {
|
||||||
// const loginResInfo: LoginResponse = this.sessionStorageService.get<
|
|
||||||
// LoginResponse
|
|
||||||
// >(KEY_LOGIN_RES_INFO);
|
|
||||||
const environmentsInfo = this.sessionStorageService.get<EnvironmentsInfo>(
|
|
||||||
KEY_ENVIRONMENTS_INFO
|
|
||||||
);
|
|
||||||
|
|
||||||
return this.actions$.pipe(
|
return this.actions$.pipe(
|
||||||
ofType(retrieveMessage),
|
ofType(retrieveMessage),
|
||||||
withLatestFrom(
|
withLatestFrom(
|
||||||
|
@ -76,6 +69,13 @@ export class Effects {
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
switchMap(([req, loginResInfo]) => {
|
switchMap(([req, loginResInfo]) => {
|
||||||
|
// const loginResInfo: LoginResponse = this.sessionStorageService.get<
|
||||||
|
// LoginResponse
|
||||||
|
// >(KEY_LOGIN_RES_INFO);
|
||||||
|
const environmentsInfo = this.sessionStorageService.get<
|
||||||
|
EnvironmentsInfo
|
||||||
|
>(KEY_ENVIRONMENTS_INFO);
|
||||||
|
|
||||||
const request: RetrieveRequest = {
|
const request: RetrieveRequest = {
|
||||||
userSeq: loginResInfo.userSeq,
|
userSeq: loginResInfo.userSeq,
|
||||||
deviceType: environmentsInfo.deviceType,
|
deviceType: environmentsInfo.deviceType,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user