fix(composer): strip app x-access-token prefix from token

This commit is contained in:
Rhys Arkins 2020-08-25 10:10:13 +02:00
parent c234428fd5
commit 32181ae6c2

View file

@ -62,7 +62,7 @@ function getAuthJson(): string | null {
});
if (githubCredentials?.token) {
authJson['github-oauth'] = {
'github.com': githubCredentials.token,
'github.com': githubCredentials.token.replace('x-access-token:', ''),
};
}