mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
bump micro
This commit is contained in:
@@ -25,7 +25,7 @@ type handler struct{}
|
||||
// List all the notes
|
||||
func (h *handler) List(ctx context.Context, req *pb.ListRequest, rsp *pb.ListResponse) error {
|
||||
// query the store
|
||||
recs, err := store.Read("", store.Prefix(storePrefix))
|
||||
recs, err := store.Read(storePrefix, store.ReadPrefix())
|
||||
if err != nil {
|
||||
logger.Errorf("Error reading notes from the store: %v", err)
|
||||
return errors.InternalServerError("notes.List.Unknown", "Error reading from the store")
|
||||
|
||||
Reference in New Issue
Block a user