From 4fb3e53ff2f1bb38be36ae0d969ee24daeb07721 Mon Sep 17 00:00:00 2001 From: Jenny Bonsak Date: Wed, 12 Jul 2023 17:06:56 +0200 Subject: [PATCH] available_actions: reorder actions --- invenio_rdm_records/requests/community_inclusion.py | 2 +- invenio_rdm_records/requests/community_submission.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/invenio_rdm_records/requests/community_inclusion.py b/invenio_rdm_records/requests/community_inclusion.py index 7b57f37c3..21899d4ef 100644 --- a/invenio_rdm_records/requests/community_inclusion.py +++ b/invenio_rdm_records/requests/community_inclusion.py @@ -88,7 +88,7 @@ class CommunityInclusion(RequestType): "submit": SubmitAction, "delete": actions.DeleteAction, "accept": AcceptAction, - "cancel": actions.CancelAction, "decline": actions.DeclineAction, + "cancel": actions.CancelAction, "expire": actions.ExpireAction, } diff --git a/invenio_rdm_records/requests/community_submission.py b/invenio_rdm_records/requests/community_submission.py index f959eb505..57f38d076 100644 --- a/invenio_rdm_records/requests/community_submission.py +++ b/invenio_rdm_records/requests/community_submission.py @@ -148,7 +148,7 @@ class CommunitySubmission(ReviewRequest): "submit": SubmitAction, "delete": actions.DeleteAction, "accept": AcceptAction, - "cancel": CancelAction, "decline": DeclineAction, + "cancel": CancelAction, "expire": ExpireAction, }