bug fixed

This commit is contained in:
병준 박 2019-12-27 14:22:06 +09:00
parent a7fb5b2c4b
commit 6342bf0f64

View File

@ -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,