bump micro

This commit is contained in:
Asim Aslam
2021-01-27 11:03:21 +00:00
parent 47fe6b39ec
commit 285fcef4e8
8 changed files with 25 additions and 30 deletions

View File

@@ -71,7 +71,7 @@ func (m *Messages) List(ctx context.Context, req *pb.ListRequest, rsp *pb.ListRe
// query the store for any messages sent to the user
prefix := strings.Join([]string{messagePrefix, req.User}, joinKey)
recs, err := store.Read("", store.Prefix(prefix))
recs, err := store.Read(prefix, store.ReadPrefix())
if err != nil {
return errors.BadRequest("messages.List.Unknown", "Error reading from the store")
}