Skip to content

Commit

Permalink
Update 06-show.md (#3646)
Browse files Browse the repository at this point in the history
Added reference to post object
  • Loading branch information
francesco-defalco authored Sep 6, 2023
1 parent 45b57f0 commit de8fb92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/02-guide/04-blog/06-show.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (k Keeper) ShowPost(goCtx context.Context, req *types.QueryShowPostRequest)
return nil, sdkerrors.ErrKeyNotFound
}

return &types.QueryShowPostResponse{Post: post}, nil
return &types.QueryShowPostResponse{Post: &post}, nil
}
```

Expand Down Expand Up @@ -78,4 +78,4 @@ Run the command to generate Go files from proto:

```
ignite generate proto-go
```
```

0 comments on commit de8fb92

Please sign in to comment.