update
This commit is contained in:
@@ -34,7 +34,7 @@ export const getTokenUserCache = async (token: string) => {
|
||||
}
|
||||
return res;
|
||||
}
|
||||
const checkAuth = async (ctx: any, isAdmin = false) => {
|
||||
export const checkAuth = async (ctx: any, isAdmin = false) => {
|
||||
const config = assistantConfig.getConfig();
|
||||
const { auth = {} } = config;
|
||||
const token = ctx.query.token;
|
||||
|
||||
Reference in New Issue
Block a user