fixed bug for function call error None is not of type 'array'

This commit is contained in:
RockYang
2024-05-30 09:59:44 +08:00
parent fe687af8ca
commit 17340ae0ac
2 changed files with 2 additions and 7 deletions

View File

@@ -24,5 +24,4 @@ type Function struct {
Name string `json:"name"`
Description string `json:"description"`
Parameters map[string]interface{} `json:"parameters"`
Required interface{} `json:"required,omitempty"`
}