Skip to content

Conversation

@NawfalAhmed
Copy link

Description

  • disable manual order enrollment endpoint

Copilot AI review requested due to automatic review settings September 29, 2025 09:42
@NawfalAhmed NawfalAhmed self-assigned this Sep 29, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR disables the manual order enrollment endpoint by adding a waffle flag check that returns a 503 Service Unavailable response when the feature flag is active.

  • Added waffle flag check to return 503 error when disable_ecommerce_service flag is active
  • Added request logging for monitoring purposes
  • Imported necessary dependencies (JsonResponse and waffle)

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@NawfalAhmed NawfalAhmed force-pushed the nahmed/disable-enterprise branch from ae7bdb4 to 3510017 Compare September 29, 2025 09:48
@NawfalAhmed NawfalAhmed force-pushed the nahmed/disable-enterprise branch from 3510017 to d5d5a3e Compare September 29, 2025 09:49
@NawfalAhmed NawfalAhmed merged commit 6ecd401 into 2u/main Sep 29, 2025
5 of 6 checks passed
@NawfalAhmed NawfalAhmed deleted the nahmed/disable-enterprise branch September 29, 2025 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants