feat: search input
This commit is contained in:
@@ -92,10 +92,12 @@ export class ProductService {
|
||||
*/
|
||||
public static getProductsByClientId({
|
||||
clientId,
|
||||
searchInput,
|
||||
page,
|
||||
itemsPerPage,
|
||||
}: {
|
||||
clientId: number,
|
||||
searchInput: string,
|
||||
page?: (number | null),
|
||||
itemsPerPage?: (number | null),
|
||||
}): CancelablePromise<ProductGetResponse> {
|
||||
@@ -104,6 +106,7 @@ export class ProductService {
|
||||
url: '/product/get',
|
||||
query: {
|
||||
'client_id': clientId,
|
||||
'search_input': searchInput,
|
||||
'page': page,
|
||||
'items_per_page': itemsPerPage,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user