diff --git a/api/api.go b/api/api.go index 4292528b..807d98ba 100644 --- a/api/api.go +++ b/api/api.go @@ -336,7 +336,7 @@ func (vk *VK) ExecuteWithArgs(code string, params Params, obj interface{}) error } if resp.ExecuteErrors != nil { - return resp.ExecuteErrors + return &resp.ExecuteErrors } return err