The order-lookup handler below returns whatever order matches the requested ID — without checking who's asking.
The bug: any logged-in user can view *any* order by simply changing the ID in the URL (/orders/1, /orders/2, ...) — a textbook Insecure Direct Object Reference.
Your task: fix solve(currentUserId, order) so it returns the order only when order.ownerId matches currentUserId — null otherwise.
Sample tests