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 edits as read_only, exclude asset from Service #1561

Merged
merged 2 commits into from
Aug 25, 2023
Merged

Conversation

Ashesh3
Copy link
Contributor

@Ashesh3 Ashesh3 commented Aug 25, 2023

Proposed Changes

The edits field in AssetServiceSerializer has been updated to be read-only. This change ensures that the edits field cannot be updated directly through the serializer, providing an additional layer of data integrity.

The asset field has been added to the exclude option in the Meta class of AssetServiceSerializer

@coronasafe/care-backend-maintainers @coronasafe/care-backend-admins

@vigneshhari vigneshhari merged commit 27be312 into master Aug 25, 2023
@vigneshhari vigneshhari deleted the service-fix branch August 25, 2023 10: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.

3 participants