Skip to content

Commit

Permalink
dr: Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad Vitan committed Aug 7, 2024
1 parent 1d59efb commit bcb0891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/devicerepository/store/bleve/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ func (s *bleveStore) ListProvisioningInfo(req store.ListProvisioningInfoRequest)

models := make([]*ttnpb.EndDeviceProvisioningInfo, 0, len(result.Hits))
for _, hit := range result.Hits {
model, err := s.retrieve(hit, "ListProvisioningInfoResponse", func() any { return &ttnpb.EndDeviceProvisioningInfo{} })
model, err := s.retrieve(hit, "ProvisioningInfoJSON", func() any { return &ttnpb.EndDeviceProvisioningInfo{} })
if err != nil {
return nil, err
}
Expand Down

0 comments on commit bcb0891

Please sign in to comment.