mirror of https://github.com/chaitin/PandaWiki.git
Merge pull request #88 from kingfs/fix/get-model-list-param
fix: 修复GetModelConfigList函数签名
This commit is contained in:
commit
7d6e792054
|
|
@ -17,7 +17,7 @@ func (c *Client) AddModelConfig(ctx context.Context, req AddModelConfigRequest)
|
|||
return &resp.Data, nil
|
||||
}
|
||||
|
||||
func (c *Client) GetModelConfigList(ctx context.Context, modelID string) ([]ModelConfig, error) {
|
||||
func (c *Client) GetModelConfigList(ctx context.Context) ([]ModelConfig, error) {
|
||||
httpReq, err := c.newRequest(ctx, "GET", "models", nil)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Reference in New Issue