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

Set default value of False for is_publishable #62

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

SarahJohnsonONS
Copy link
Contributor

What

The required isPublishable upload parameter was being set as None, which was causing the HTTP request to be rejected. Refactored functions so that isPublishable now defaults to False if not specified.

Also fixed a deprecation warning in the email client (dict-like access to the return value of validate_email is deprecated and may not be supported in the future.)

How to review

Sanity check.

Who can review

Anyone.

Copy link
Contributor

@nimshi89 nimshi89 left a comment

Choose a reason for hiding this comment

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

LGTM

@SarahJohnsonONS SarahJohnsonONS merged commit 4fb9cf4 into develop Oct 17, 2024
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.

2 participants