chore: lint and fmt
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { Octokit } from '@octokit/rest'
|
||||
import { Octokit } from "@octokit/rest"
|
||||
|
||||
import { getAccessToken } from '@/modules/user/service/signIn'
|
||||
import { getAccessToken } from "@/modules/user/service/signIn"
|
||||
|
||||
export const getOctokit = async (): Promise<Octokit> => {
|
||||
const response = await getAccessToken()
|
||||
|
||||
return new Octokit({
|
||||
auth: response?.token ?? ''
|
||||
auth: response?.token ?? ""
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user