fix: suppress guest auth errors and add SVG placeholder for missing user avatar in PreviewMapShell
Build and Release / release (push) Successful in 38s
Build and Release / release (push) Successful in 38s
This commit is contained in:
+2
-2
@@ -62,8 +62,8 @@ export const apiResetPassword = async (payload: ResetPasswordPayload) => {
|
||||
return response.data;
|
||||
};
|
||||
|
||||
export const apiGetCurrentUser = async () => {
|
||||
const response = await api.get(API.User.CURRENT);
|
||||
export const apiGetCurrentUser = async (config?: any) => {
|
||||
const response = await api.get(API.User.CURRENT, config);
|
||||
return response?.data;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user