diff --git a/packages/builder/src/pages/builder/portal/manage/users/[userId].svelte b/packages/builder/src/pages/builder/portal/manage/users/[userId].svelte index 58c29f1316..9f8c0239f4 100644 --- a/packages/builder/src/pages/builder/portal/manage/users/[userId].svelte +++ b/packages/builder/src/pages/builder/portal/manage/users/[userId].svelte @@ -33,6 +33,13 @@ let selectedApp const request = fetchData(`/api/admin/users/${userId}`) + const roles = fetchData( + `/api/admin/roles/app_5a72d9b923504765852338e614a72c85` + ) + + $: console.log($apps) + + $: console.log($roles) async function deleteUser() { const res = await users.del(userId) @@ -62,8 +69,10 @@ Lorem ipsum dolor sit amet consectetur adipisicing elit. Debitis porro ut nesciunt ipsam perspiciatis aliquam et hic minus alias beatae. Odit - veritatis quos quas laborum magnam tenetur perspiciatis ex hic. + veritatis quos quas laborum magnam tenetur perspiciatis ex hic. + + {JSON.stringify($roles.data, null, 2)} +