Skip to content
Snippets Groups Projects
Commit 815ea78a authored by Xiao Gui's avatar Xiao Gui
Browse files

chore: added access token message

parent 6b936b5c
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,7 @@ const getUserKGRequestParam = async ({ user }) => {
}
const init = async () => {
if (process.env.ACCESS_TOKEN) console.warn(`ACCESS_TOKEN environmental variable is set! All queries will be made made with ACCESS_TOKEN!`)
if (getPublicAccessToken) return
const { getPublicAccessToken: getPublic } = await kgQueryUtil()
getPublicAccessToken = getPublic
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment