working orchestrator

This commit is contained in:
Ishaan Dey
2024-05-13 13:22:11 -07:00
parent 6a6ddf5363
commit aef8105bb0
4 changed files with 48 additions and 40 deletions

View File

@ -22,6 +22,10 @@ const getSandboxData = async (id: string) => {
};
const getSharedUsers = async (usersToSandboxes: UsersToSandboxes[]) => {
if (!usersToSandboxes) {
return [];
}
const shared = await Promise.all(
usersToSandboxes.map(async (user) => {
const userRes = await fetch(