Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into dev-integrate
  • Loading branch information
yuanzhou committed Oct 28, 2024
2 parents 44aa314 + 64f1b40 commit a31d366
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/src/service/ingest_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,15 @@ export function ingest_api_user_admin(auth) {

console.debug('%c◉ res ', 'color:#00ff7b', res);
let groups = res.data.groups;
console.debug('%c◉ ADMIN ', 'color:#FF227b', groups);

console.debug('%c◉ ADMIN Check:', 'color:#FF227b', groups);
for (let group in groups) {
let groupName = groups[group].name
console.debug('%c◉ groupName ', 'color:#ffe921', groupName);
if(groupName.includes("hubmap-data-admin")){
return true
}else{
return false
}
}
return false


})
Expand Down

0 comments on commit a31d366

Please sign in to comment.