Skip to content

Commit 146dc1a

Browse files
committed
fix: update authorization header to use x-api-key in api-client.ts
Signed-off-by: Innei <tukon479@gmail.com>
1 parent 5a88390 commit 146dc1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/modules/mx-space/api-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ axiosAdaptor.default.interceptors.request.use(
2323
req.headers = {
2424
...req.headers,
2525
"user-agent": userAgent,
26-
authorization: appConfig.mxSpace.token,
26+
"x-api-key": appConfig.mxSpace.token,
2727
"x-request-id": Math.random().toString(36).slice(2),
2828
} as any;
2929

0 commit comments

Comments
 (0)