Skip to content

Commit

Permalink
fix: ExecuteWithArgs return ExecuteErrors pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
SevereCloud committed Aug 4, 2020
1 parent ee1a4a8 commit 0434026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/api.go
Expand Up @@ -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
Expand Down

0 comments on commit 0434026

Please sign in to comment.