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

Reference PR for tracking new changes from develop for DOI #10916

Draft
wants to merge 6 commits into
base: feature/preprints-doi-versioning
Choose a base branch
from

Conversation

cslzchen
Copy link
Collaborator

Reference PR for tracking new changes from develop for DOI

@cslzchen cslzchen marked this pull request as draft January 13, 2025 20:20
class NodeUpdateModerationStateView(View):
def post(self, request, *args, **kwargs):
guid = kwargs.get('guid')
node = AbstractNode.load(guid)
Copy link
Collaborator Author

@cslzchen cslzchen Jan 13, 2025

Choose a reason for hiding this comment

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

This should be good since it AbstractNode inherits from GuidMixin. No need to update this to use Guid.load_referent().

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