mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
Cleaning up usage of console log in front end
This commit is contained in:
@@ -408,7 +408,7 @@ export const deleteModel = async (token: string, tagName: string, urlIdx: string
|
||||
return res.json();
|
||||
})
|
||||
.then((json) => {
|
||||
console.log(json);
|
||||
console.debug(json);
|
||||
return true;
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
@@ -343,7 +343,7 @@ export const getAndUpdateUserLocation = async (token: string) => {
|
||||
await updateUserInfo(token, { location: location });
|
||||
return location;
|
||||
} else {
|
||||
console.log('Failed to get user location');
|
||||
console.info('Failed to get user location');
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user