- fix msg
This commit is contained in:
@@ -97,7 +97,7 @@ func isSNSAction(action string) bool {
|
||||
|
||||
func (a *API) AccessAPI(action string, params map[string]interface{}, body string) (retVal map[string]interface{}, err error) {
|
||||
if params != nil && body != "" {
|
||||
panic("params and body can not all non-empty")
|
||||
panic("params and body can not all be empty")
|
||||
}
|
||||
params2 := make(map[string]interface{})
|
||||
for k, v := range params {
|
||||
|
||||
Reference in New Issue
Block a user