Skip to content

Commit f7b6b3a

Browse files
authored
revert(product_catalog): filter by locality (scaleway#2616)
1 parent d8cb86b commit f7b6b3a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

api/product_catalog/v2alpha1/product_catalog_sdk.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -584,9 +584,6 @@ type PublicCatalogAPIListPublicCatalogProductsRequest struct {
584584

585585
// ProductTypes: the list of filtered product categories.
586586
ProductTypes []ListPublicCatalogProductsRequestProductType `json:"-"`
587-
588-
// Locality: the locality of the products to filter by. If not set, all localities are returned.
589-
Locality *PublicCatalogProductLocality `json:"-"`
590587
}
591588

592589
type PublicCatalogAPI struct {
@@ -613,7 +610,6 @@ func (s *PublicCatalogAPI) ListPublicCatalogProducts(req *PublicCatalogAPIListPu
613610
parameter.AddToQuery(query, "page", req.Page)
614611
parameter.AddToQuery(query, "page_size", req.PageSize)
615612
parameter.AddToQuery(query, "product_types", req.ProductTypes)
616-
parameter.AddToQuery(query, "locality", req.Locality)
617613

618614
scwReq := &scw.ScalewayRequest{
619615
Method: "GET",

0 commit comments

Comments
 (0)