mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-07 16:34:26 +00:00
Initial git settings on frontend
This commit is contained in:
@@ -70,8 +70,7 @@ export const saveUserSettings = async (settings) => {
|
||||
throw new Error(errorData?.message || `HTTP error! status: ${response.status}`);
|
||||
}
|
||||
|
||||
const savedSettings = await response.json();
|
||||
return savedSettings;
|
||||
return await response.json();
|
||||
} catch (error) {
|
||||
console.error('Error saving user settings:', error);
|
||||
throw error;
|
||||
|
||||
Reference in New Issue
Block a user