mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-28 08:09:27 -05:00
refac
This commit is contained in:
1 parent
a641325707
commit
4567cdc0d9
3 files changed
+56
-14
No files matched your search
@@ -198,7 +198,7 @@
|
||||
// Save policy to orchestrator if applicable
|
||||
if (serverType === 'orchestrator' && !direct && policyId) {
|
||||
try {
|
||||
await putOrchestratorPolicy(url, key, policyId, buildPolicyData());
|
||||
await putOrchestratorPolicy(localStorage.token, url, key, policyId, buildPolicyData());
|
||||
} catch (err) {
|
||||
toast.error($i18n.t('Failed to save policy: {{error}}', { error: err }));
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user