Skip to content

Commit

Permalink
fix: quality checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Noyan Aziz authored and Muhammad Noyan Aziz committed Nov 7, 2024
1 parent d0a87e1 commit 6f9cae0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion commerce_coordinator/apps/commercetools/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def get_orders_for_customer(self, edx_lms_user_id: int, offset=0,
start_time = datetime.datetime.now()
logger.info(
"[UserOrdersView] For CT orders get customer id from lms id call started at %s",
start_time
start_time
)
customer = self.get_customer_by_lms_user_id(edx_lms_user_id)
end_time = datetime.datetime.now()
Expand Down
4 changes: 2 additions & 2 deletions commerce_coordinator/apps/frontend_app_ecommerce/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ def get(self, request):
logger.info("[UserOrdersView] Pipline filter run started at: %s", start_time)
order_data = OrderHistoryRequested.run_filter(request, params)
end_time = datetime.now()
logger.info("[UserOrdersView] Pipline filter run finished at: %s with total duration: %s", end_time,
end_time - start_time)
logger.info("[UserOrdersView] Pipline filter run finished at: %s with total duration: %s",
end_time, end_time - start_time)

output_orders = []

Expand Down

0 comments on commit 6f9cae0

Please sign in to comment.