mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
fix: 👽 Update Role API usage
This commit is contained in:
parent
94822eb959
commit
dc004601b0
|
|
@ -41,7 +41,7 @@ export const useCacheRefresh = (client: MaybeRef<Client | null>) => {
|
||||||
});
|
});
|
||||||
|
|
||||||
toValue(client)
|
toValue(client)
|
||||||
?.getRoles()
|
?.getAccountRoles(identity.value.account.id)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
const roles = res.data;
|
const roles = res.data;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue