mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-07-29 23:57:57 -05:00
Fix OIDC token payload
This commit is contained in:
@@ -51,7 +51,7 @@ jobs:
|
|||||||
// exchange the OIDC token for an API token
|
// exchange the OIDC token for an API token
|
||||||
const mint_resp = await fetch('https://test.pypi.org/_/oidc/github/mint-token', {
|
const mint_resp = await fetch('https://test.pypi.org/_/oidc/github/mint-token', {
|
||||||
method: 'post',
|
method: 'post',
|
||||||
body: '{"token": oidc_token}' ,
|
body: `{"token": "${oidc_token}"}` ,
|
||||||
headers: {'Content-Type': 'application/json'},
|
headers: {'Content-Type': 'application/json'},
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user