Merge branch 'main' of github.com:lite-note/lite-note into main
This commit is contained in:
@@ -58,8 +58,6 @@ export const refreshToken = async () => {
|
||||
| GithubToken
|
||||
| GithubTokenError
|
||||
|
||||
console.log(githubToken)
|
||||
|
||||
if ('error' in githubToken) {
|
||||
return null
|
||||
}
|
||||
@@ -105,8 +103,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