Skip to content

Commit e18f3fc

Browse files
authored
fix: use UUID type for request identifiers
* closes: #3267 * Corrected route parameters to use UUID type for request identifiers in the configuration.
1 parent 5237260 commit e18f3fc

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
@@ -1074,9 +1074,9 @@ def github_link_render(record):
10741074
# ===================
10751075

10761076
RDM_REQUESTS_ROUTES = {
1077-
"user-dashboard-request-details": "/me/requests/<request_pid_value>",
1078-
"community-dashboard-request-details": "/communities/<pid_value>/requests/<request_pid_value>",
1079-
"community-dashboard-invitation-details": "/communities/<pid_value>/invitations/<request_pid_value>",
1077+
"user-dashboard-request-details": "/me/requests/<uuid:request_pid_value>",
1078+
"community-dashboard-request-details": "/communities/<pid_value>/requests/<uuid:request_pid_value>",
1079+
"community-dashboard-invitation-details": "/communities/<pid_value>/invitations/<uuid:request_pid_value>",
10801080
}
10811081

10821082
RDM_COMMUNITIES_ROUTES = {

0 commit comments

Comments
 (0)