From 3dfcd9ab7405af2de1e52fcc369840207d61e69d Mon Sep 17 00:00:00 2001 From: Alzpetka Date: Tue, 3 Sep 2024 14:44:20 +0200 Subject: [PATCH] assign doi request --- oarepo_doi/types/doi.py | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/oarepo_doi/types/doi.py b/oarepo_doi/types/doi.py index 6be2e2f..e691f92 100644 --- a/oarepo_doi/types/doi.py +++ b/oarepo_doi/types/doi.py @@ -3,7 +3,7 @@ from ..actions.doi import CreateDoiAction, ValidateDataForDoiAction from oarepo_requests.types.ref_types import ModelRefTypes -class CreateDoiRequestType(RequestType): +class AssignDoiRequestType(RequestType): type_id = "assign_doi" name = _("assign_doi") diff --git a/setup.cfg b/setup.cfg index 3a73dcd..5cdc6f9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -34,4 +34,4 @@ invenio_base.apps = invenio_base.api_apps = oarepodoi = oarepo_doi.ext:OARepoDOI invenio_requests.types = - create-doi-request = oarepo_doi.types.doi:CreateDoiRequestType + assign-doi-request = oarepo_doi.types.doi:AssignDoiRequestType