mirror of
https://github.com/desktop/desktop
synced 2024-10-31 11:07:25 +00:00
Move auth since it's no longer strictly main-process.
This commit is contained in:
parent
f7a200a5b1
commit
38715c1728
1 changed files with 4 additions and 4 deletions
|
@ -23,10 +23,10 @@ export function requestToken(code: string): Promise<string> {
|
|||
method: 'post',
|
||||
headers: DefaultHeaders,
|
||||
body: JSON.stringify({
|
||||
'client_id': ClientID,
|
||||
'client_secret': ClientSecret,
|
||||
'code': code,
|
||||
'state': authState
|
||||
'client_id': ClientID,
|
||||
'client_secret': ClientSecret,
|
||||
'code': code,
|
||||
'state': authState
|
||||
})
|
||||
})
|
||||
.then(response => response.json())
|
Loading…
Reference in a new issue