From 0c1eda829948171f6278e110e9b744ceaa31a188 Mon Sep 17 00:00:00 2001 From: Ivan Li Date: Thu, 22 Jul 2021 21:13:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=20subscription=20?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E5=8F=82=E6=95=B0=E7=BB=93=E6=9E=84=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/commons/graphql/client.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/commons/graphql/client.tsx b/src/commons/graphql/client.tsx index 73da9fe..4886c15 100644 --- a/src/commons/graphql/client.tsx +++ b/src/commons/graphql/client.tsx @@ -140,9 +140,7 @@ export const AppApolloClientProvider: FC = ({ children }) => { options: { reconnect: true, connectionParams: { - headers: { - authorization: `Bearer ${accessTokenRef.current} `, - }, + authorization: `Bearer ${accessTokenRef.current} `, }, }, });