fix: gravatar profile image
This commit is contained in:
@@ -413,6 +413,9 @@ export const updateUserProfile = async (token: string, profile: object) => {
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
error = err.detail;
|
||||
if (Array.isArray(error)) {
|
||||
error = error.map((e: { msg?: string }) => e.msg).join("; ");
|
||||
}
|
||||
return null;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user