nsarrazin HF Staff commited on
Commit
0c1e5ef
·
unverified ·
1 Parent(s): 46b4c43

fix(auth): make debug log info

Browse files
src/routes/login/callback/updateUser.ts CHANGED
@@ -81,7 +81,7 @@ export async function updateUser(params: {
81
 
82
  // sorry for the ugly debug oof
83
  if (username === "nsarrazin") {
84
- logger.debug(orgs, "nsarrazin orgs");
85
  }
86
  // if using huggingface as auth provider, check orgs for earl access and amin rights
87
  const isAdmin = (HF_ORG_ADMIN && orgs?.some((org) => org.sub === HF_ORG_ADMIN)) || false;
 
81
 
82
  // sorry for the ugly debug oof
83
  if (username === "nsarrazin") {
84
+ logger.info(orgs, "nsarrazin orgs");
85
  }
86
  // if using huggingface as auth provider, check orgs for earl access and amin rights
87
  const isAdmin = (HF_ORG_ADMIN && orgs?.some((org) => org.sub === HF_ORG_ADMIN)) || false;