🔇 (token)
This commit is contained in:
@@ -44,8 +44,6 @@ export const refreshToken = async () => {
|
||||
return null
|
||||
}
|
||||
|
||||
console.log(accessToken.refreshToken)
|
||||
|
||||
if (await needToRefreshToken()) {
|
||||
const authenticationServerURL = new URL(AUTHENTICATION_SERVER)
|
||||
authenticationServerURL.searchParams.set('type', 'refresh')
|
||||
@@ -56,8 +54,6 @@ export const refreshToken = async () => {
|
||||
| GithubToken
|
||||
| GithubTokenError
|
||||
|
||||
console.log(githubToken)
|
||||
|
||||
if ('error' in githubToken) {
|
||||
return null
|
||||
}
|
||||
@@ -103,8 +99,6 @@ export const saveAccessToken = async (githubToken: GithubToken) => {
|
||||
username: ''
|
||||
}
|
||||
|
||||
console.log(accessToken)
|
||||
|
||||
const octokit = new Octokit({
|
||||
auth: accessToken?.token
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user