Skip to content

Commit 647e5e9

Browse files
committed
fix: use UUID type for request identifiers
* closes: #3267 * Corrected route parameters to use UUID type for request identifiers in the configuration.
1 parent 61b82e7 commit 647e5e9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

invenio_app_rdm/config.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright (C) 2019-2025 CERN.
44
# Copyright (C) 2019-2020 Northwestern University.
55
# Copyright (C) 2021-2025 Graz University of Technology.
6-
# Copyright (C) 2022-2024 KTH Royal Institute of Technology.
6+
# Copyright (C) 2022-2025 KTH Royal Institute of Technology.
77
# Copyright (C) 2023 TU Wien
88
#
99
# Invenio App RDM is free software; you can redistribute it and/or modify it
@@ -1071,9 +1071,9 @@ def github_link_render(record):
10711071
# ===================
10721072

10731073
RDM_REQUESTS_ROUTES = {
1074-
"user-dashboard-request-details": "/me/requests/<request_pid_value>",
1075-
"community-dashboard-request-details": "/communities/<pid_value>/requests/<request_pid_value>",
1076-
"community-dashboard-invitation-details": "/communities/<pid_value>/invitations/<request_pid_value>",
1074+
"user-dashboard-request-details": "/me/requests/<uuid:request_pid_value>",
1075+
"community-dashboard-request-details": "/communities/<pid_value>/requests/<uuid:request_pid_value>",
1076+
"community-dashboard-invitation-details": "/communities/<pid_value>/invitations/<uuid:request_pid_value>",
10771077
}
10781078

10791079
RDM_COMMUNITIES_ROUTES = {

0 commit comments

Comments
 (0)