Skip to content
Snippets Groups Projects
Unverified Commit 241cb6ed authored by Angelo Capossele's avatar Angelo Capossele Committed by GitHub
Browse files

Update client/message.go


Co-Authored-By: default avatarLuca Moser <moser.luca@gmail.com>
parent b1225b33
No related branches found
No related tags found
No related merge requests found
...@@ -13,13 +13,12 @@ const ( ...@@ -13,13 +13,12 @@ const (
func (api *GoShimmerAPI) FindMessageById(base58EncodedIds []string) (*webapi_message.Response, error) { func (api *GoShimmerAPI) FindMessageById(base58EncodedIds []string) (*webapi_message.Response, error) {
res := &webapi_message.Response{} res := &webapi_message.Response{}
err := api.do( if err := api.do(
http.MethodPost, http.MethodPost,
routeFindById, routeFindById,
&webapi_message.Request{Ids: base58EncodedIds}, &webapi_message.Request{Ids: base58EncodedIds},
res, res,
) ); err != nil {
if err != nil {
return nil, err return nil, err
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment