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

Remove disallowed fields from project before POSTing #79

Merged
merged 2 commits into from
Nov 3, 2022

Conversation

ljcornel
Copy link
Collaborator

@ljcornel ljcornel commented Nov 3, 2022

Recently, the POST endpoint for project creation has added stricter validation of input data. Several fields that are returned by the GET /projects endpoint are no longer allowed in the POST.

This PR removes those fields before POSTing to the /projects endpoint, when creating a project from a previously downloaded project (because in that case the disallowed fields will be present otherwise).

@ljcornel ljcornel merged commit 6551d1b into main Nov 3, 2022
@ljcornel ljcornel deleted the CVS-95690-Fix-invalid-value-received-for-field-error branch November 3, 2022 12:20
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.

1 participant