mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 05:45:19 +00:00
refac
This commit is contained in:
parent
5c0854c6b3
commit
c85ce07f92
1 changed files with 1 additions and 1 deletions
|
|
@ -1064,7 +1064,7 @@ async def get_app_version():
|
||||||
|
|
||||||
|
|
||||||
@app.get("/api/version/updates")
|
@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:
|
if OFFLINE_MODE:
|
||||||
log.debug(
|
log.debug(
|
||||||
f"Offline mode is enabled, returning current version as latest version"
|
f"Offline mode is enabled, returning current version as latest version"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue