add handlers, storage(Postgres, sqlite) #3

Merged
vtolstov merged 12 commits from devstigneev/pkgdash:master into master 2023-08-11 20:12:16 +03:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 02aa7d25f1 - Show all commits

View File

@ -186,7 +186,7 @@ func URLValuesToProto(vals url.Values, msg proto.Message) error {
continue
}
switch k {
case "id":
case "id[]":
params[k] = v
default:
params[k] = v[0]

View File

@ -30,7 +30,7 @@ func TestGetModule(t *testing.T) {
}
req := &pb.GetModuleReq{
ModulesId: []uint64{1, 2, 5, 40},
Id: []uint64{1, 2, 5, 40},
}
module, err := s.GetModule(context.Background(), req)