mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-17 01:39:43 +02:00
Handle the list of models without allow/block
This commit is contained in:
@@ -708,10 +708,7 @@ export async function updatePublicResources(
|
||||
provider: p.provider,
|
||||
accessMode: p["access-mode"],
|
||||
enabled: p.enabled,
|
||||
models: p.models.map((m) => ({
|
||||
model: m.model,
|
||||
listType: m["list-type"]
|
||||
}))
|
||||
models: p.models
|
||||
})
|
||||
)
|
||||
});
|
||||
@@ -1288,10 +1285,7 @@ export async function updatePublicResources(
|
||||
provider: p.provider,
|
||||
accessMode: p["access-mode"],
|
||||
enabled: p.enabled,
|
||||
models: p.models.map((m) => ({
|
||||
model: m.model,
|
||||
listType: m["list-type"]
|
||||
}))
|
||||
models: p.models
|
||||
}))
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user