refactored how avatars are being handled
This commit is contained in:
@@ -5,6 +5,8 @@ export default async function getPublicUserData(id: number | string) {
|
||||
|
||||
const data = await response.json();
|
||||
|
||||
console.log(data);
|
||||
|
||||
if (!response.ok) toast.error(data.response);
|
||||
|
||||
return data.response;
|
||||
|
||||
Reference in New Issue
Block a user