Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MWPW-135527 Move common validation and error handler in Floodgate AIO #56

Merged
merged 3 commits into from
Sep 14, 2023

Conversation

raga-adbe-gh
Copy link
Collaborator

Moved the common validation to FgAction and actions updated to refer to FgAction. Few initialization related to status is also moved to FgAction

Resolves: MWPW-135527

… actions

Moved the common validation to FgAction and actions updated to refer to FgAction
const logger = getAioLogger();
const BAD_REQUEST_SC = 400;
const AUTH_FAILED_SC = 401;
const GEN_ERROR_SC = 401;
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we set this to 500?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thank you @sukamat, As suggested updated to 500.

@sukamat sukamat merged commit f9c4c83 into adobecom:main Sep 14, 2023
2 checks passed
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