Fixed roles page console warnings
This commit is contained in:
@@ -15,7 +15,7 @@ export async function getRoles(): Promise<Role[]> {
|
||||
if (res.ok) {
|
||||
return res.json() as Promise<Role[]>;
|
||||
} else {
|
||||
console.error("Something went wrong approving the application")
|
||||
console.error("Something went wrong")
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user