mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-04 10:13:53 +08:00
fix bug
This commit is contained in:
@@ -220,7 +220,8 @@ func (i *imlBalanceModule) Delete(ctx context.Context, id string) error {
|
||||
return i.syncGateway(ctx, cluster.DefaultClusterID, []*gateway.DynamicRelease{
|
||||
{
|
||||
BasicItem: &gateway.BasicItem{
|
||||
ID: id,
|
||||
ID: id,
|
||||
Resource: "ai-provider",
|
||||
},
|
||||
},
|
||||
}, false)
|
||||
|
||||
@@ -76,6 +76,7 @@ func FromEntity(e *api.AiAPIInfo) *API {
|
||||
Updater: e.Updater,
|
||||
Disable: e.Disable,
|
||||
UseToken: e.UseToken,
|
||||
Provider: e.Provider,
|
||||
Type: e.Type,
|
||||
AdditionalConfig: cfg,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user