feat: 修改 subscription 请求参数结构。
This commit is contained in:
parent
4e493f79d1
commit
0c1eda8299
@ -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} `,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user