Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jeronimoalbi committed Oct 19, 2023
1 parent a6b9164 commit a357a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/02-guide/04-blog/07-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (k Keeper) ListPost(ctx context.Context, req *types.QueryListPostRequest) (
}

storeAdapter := runtime.KVStoreAdapter(k.storeService.OpenKVStore(ctx))
+ store := prefix.NewStore(storeAdapter, types.KeyPrefix(types.PostKey))
store := prefix.NewStore(storeAdapter, types.KeyPrefix(types.PostKey))

var posts []types.Post
pageRes, err := query.Paginate(store, req.Pagination, func(key []byte, value []byte) error {
Expand Down

0 comments on commit a357a1e

Please sign in to comment.