Skip to content

Commit

Permalink
test: trombi
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoine D committed Nov 28, 2024
1 parent dee4034 commit 90bedd1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/operations/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,15 @@ export const fetchOrgas = async (): Promise<Orga[]> => {
},
},
});
return orgas.map(formatOrga);
return orgas.map((orga) => {
// log the orga to see what it looks like
logger.debug(`Format de l'orga : ${orga.username}`);
logger.debug(orga);
logger.debug(orga.id);
logger.debug(orga.orga.displayName);
const formattedOrga = formatOrga(orga);
return formattedOrga;
});
};

export const createUser = async (user: {
Expand Down

0 comments on commit 90bedd1

Please sign in to comment.