From 06dd4f649c8525b104f365f82fb253b6458bd1d5 Mon Sep 17 00:00:00 2001 From: zerosoul Date: Fri, 18 Mar 2022 16:34:15 +0800 Subject: [PATCH] fix: afterMid and usersVersion query --- src/common/hook/useStreaming/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/hook/useStreaming/index.js b/src/common/hook/useStreaming/index.js index 55102f1c..fb465efd 100644 --- a/src/common/hook/useStreaming/index.js +++ b/src/common/hook/useStreaming/index.js @@ -50,7 +50,8 @@ export default function useStreaming() { const controller = new AbortController(); setStatus(StreamStatus.initializing); const { - authData: { token, afterMid, usersVersion }, + authData: { token }, + footprint: { afterMid, usersVersion }, } = store; fetchEventSource( `${BASE_URL}/user/events?${getQueryString({