fix(api): remove unused listOrdersByConsumer helper

The function performed client-side filtering on top of listOrders
but was never called by any page. listPlayersByShop is kept as-is
since the backend has no dedicated shop players endpoint.
This commit is contained in:
zetaloop
2026-05-01 04:23:57 +08:00
parent b6002f5691
commit 1f20198f23
3 changed files with 22 additions and 10 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ export {
markAllNotificationsAsRead,
markNotificationAsRead,
} from "./notifications"
export { getOrderById, listOrders, listOrdersByConsumer } from "./orders"
export { getOrderById, listOrders } from "./orders"
export { getPlayerById, listPlayers, listPlayersByShop } from "./players"
export { createPost, getPostById, listPosts, listPostsByAuthor, togglePostLike } from "./posts"
export { listReviews, listReviewsByOrder, listReviewsByTargetUser } from "./reviews"