mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-27 15:49:23 -05:00
refac
This commit is contained in:
1 parent
5cc0ed71d6
commit
5f95008abd
33 files changed
+359
-363
No files matched your search
@@ -252,7 +252,7 @@ class Tools:
|
||||
name,
|
||||
meta: { ...meta, i18n: pruneEmptyLocaleEntries(meta.i18n) },
|
||||
content,
|
||||
access_grants: accessGrants
|
||||
...(!edit ? { access_grants: accessGrants } : {})
|
||||
});
|
||||
if (saved) {
|
||||
if (saved.version_id && saved.content !== undefined) await applyProduction(saved);
|
||||
|
||||
Reference in new issue
Block a user