bug fixed
This commit is contained in:
parent
a7fb5b2c4b
commit
6342bf0f64
|
@ -58,13 +58,6 @@ import {
|
|||
export class Effects {
|
||||
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(
|
||||
ofType(retrieveMessage),
|
||||
withLatestFrom(
|
||||
|
@ -76,6 +69,13 @@ export class Effects {
|
|||
)
|
||||
),
|
||||
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 = {
|
||||
userSeq: loginResInfo.userSeq,
|
||||
deviceType: environmentsInfo.deviceType,
|
||||
|
|
Loading…
Reference in New Issue
Block a user