Skip to content

Commit

Permalink
Update 06-show.md
Browse files Browse the repository at this point in the history
Added reference to post object
  • Loading branch information
francesco-defalco authored Sep 5, 2023
1 parent 45b57f0 commit 30e1fb0
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 30e1fb0

Please sign in to comment.