From b1a8df9402892bc33bd70b30244186910cd1b5c0 Mon Sep 17 00:00:00 2001 From: Kheir Eddine Farfar Date: Mon, 6 Mar 2023 17:43:39 +0100 Subject: [PATCH] remove encodeURIComponent --- src/services/backend/papers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/backend/papers.js b/src/services/backend/papers.js index 65d3a11e7..2c9765f0f 100644 --- a/src/services/backend/papers.js +++ b/src/services/backend/papers.js @@ -58,7 +58,7 @@ export const getPapersLinkedToResource = async ({ }) => { const sort = `${sortBy},${desc ? 'desc' : 'asc'}`; const params = queryString.stringify( - { linkedTo: encodeURIComponent(id), page, size, sort, desc }, + { linkedTo: id, page, size, sort, desc }, { skipNull: true, skipEmptyString: true,