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