bug fix :: 대화방 읽음 처리 버그 수정.
This commit is contained in:
parent
f5a4039bbf
commit
bb527dcb65
|
@ -123,21 +123,18 @@ export class Effects {
|
|||
{ dispatch: false }
|
||||
);
|
||||
|
||||
read$ = createEffect(
|
||||
() => {
|
||||
return this.actions$.pipe(
|
||||
ofType(read),
|
||||
switchMap(req => {
|
||||
return this.eventProtocolService.read(req).pipe(
|
||||
map((res: ReadResponse) => {
|
||||
readNotification({ noti: res });
|
||||
}),
|
||||
catchError(error => of(readFailure({ error })))
|
||||
);
|
||||
})
|
||||
);
|
||||
},
|
||||
{ dispatch: false }
|
||||
read$ = createEffect(() =>
|
||||
this.actions$.pipe(
|
||||
ofType(read),
|
||||
exhaustMap(req =>
|
||||
this.eventProtocolService.read(req).pipe(
|
||||
map((res: ReadResponse) => {
|
||||
return readNotification({ noti: res });
|
||||
}),
|
||||
catchError(error => of(readFailure({ error })))
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
readNotification$ = createEffect(
|
||||
|
|
Loading…
Reference in New Issue
Block a user