mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-14 03:54:47 +00:00
bump micro
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user