Skip to content

Commit eda1b5e

Browse files
committed
update route
1 parent 10cb3d5 commit eda1b5e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package/src/libraries/backend/routes/productRoutes.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@ const listProductsHandler = withAuth({
77
fn: async ({
88
autumn,
99
customer_id,
10+
entity_id,
1011
}: {
1112
autumn: Autumn;
1213
customer_id: string;
14+
entity_id?: string;
1315
}) => {
1416
return await autumn.products.list({
1517
customer_id,
18+
entity_id,
1619
});
1720
},
1821
requireCustomer: false,

0 commit comments

Comments
 (0)