Skip to content

Commit

Permalink
Set user id
Browse files Browse the repository at this point in the history
  • Loading branch information
islean committed Jan 14, 2025
1 parent 2fada2b commit 5abb1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cg/server/endpoints/orders.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,6 @@ def get_options():
def validate_order(order_type: OrderType):
raw_order = request.get_json()
response = order_validation_service.get_validation_response(
raw_order=raw_order, order_type=order_type
raw_order=raw_order, order_type=order_type, user_id=g.current_user.id
)
return jsonify(response), HTTPStatus.OK

0 comments on commit 5abb1fd

Please sign in to comment.