Skip to content

Validate curation draft before update#330

Merged
dglemos merged 1 commit intomainfrom
update_draft_check_v14
Jan 29, 2026
Merged

Validate curation draft before update#330
dglemos merged 1 commit intomainfrom
update_draft_check_v14

Conversation

@dglemos
Copy link
Copy Markdown
Collaborator

@dglemos dglemos commented Jan 27, 2026

Description

Update the endpoint curation/<str:stable_id>/update/ to call method validate_to_save() to check if JSON object is already stored in the curation table for the same user.


JIRA Ticket

G2P-691


Contributor Checklist

  • The code compiles and runs as expected
  • Relevant unit tests are added or updated
  • All unit tests are passing
  • Code follows the G2P Coding Guidelines
  • Documentation (code comments, confluence, etc.) has been updated as needed

Reviewer Checklist

Please follow the Code Review Guidelines when reviewing this PR.

  • I have followed all review guidelines

Copy link
Copy Markdown
Collaborator

@seeta-ramaraju seeta-ramaraju left a comment

Choose a reason for hiding this comment

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

LGTM

@dglemos dglemos merged commit 9b82a28 into main Jan 29, 2026
1 check passed
@dglemos dglemos deleted the update_draft_check_v14 branch January 29, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants