mirror of
https://github.com/open-webui/open-webui
synced 2025-05-28 09:11:36 +00:00
refac
This commit is contained in:
parent
5c0854c6b3
commit
c85ce07f92
@ -1064,7 +1064,7 @@ async def get_app_version():
|
||||
|
||||
|
||||
@app.get("/api/version/updates")
|
||||
async def get_app_latest_release_version():
|
||||
async def get_app_latest_release_version(user=Depends(get_verified_user)):
|
||||
if OFFLINE_MODE:
|
||||
log.debug(
|
||||
f"Offline mode is enabled, returning current version as latest version"
|
||||
|
Loading…
Reference in New Issue
Block a user