feat: 修改 subscription 请求参数结构。

This commit is contained in:
Ivan Li 2021-07-22 21:13:03 +08:00
parent 4e493f79d1
commit 0c1eda8299

View File

@ -140,9 +140,7 @@ export const AppApolloClientProvider: FC = ({ children }) => {
options: { options: {
reconnect: true, reconnect: true,
connectionParams: { connectionParams: {
headers: { authorization: `Bearer ${accessTokenRef.current} `,
authorization: `Bearer ${accessTokenRef.current} `,
},
}, },
}, },
}); });