Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

backoffice: workflow views return object #96

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

DonHaul
Copy link
Contributor

@DonHaul DonHaul commented Aug 26, 2024

ResolutionDags[serializer.validated_data["value"]].label, pk, extra_data
)
workflow_serializer = self.serializer_class(
get_object_or_404(Workflow, pk=pk)
Copy link
Contributor

Choose a reason for hiding this comment

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

are you sure we need to do a query here? The object is already changed in the session

@DonHaul DonHaul merged commit d52647a into inspirehep:main Aug 27, 2024
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants