aboutsummaryrefslogtreecommitdiff
path: root/src/api/routes/search/searchGET.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/search/searchGET.js')
-rw-r--r--src/api/routes/search/searchGET.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/search/searchGET.js b/src/api/routes/search/searchGET.js
index 187fcab..3cfcfef 100644
--- a/src/api/routes/search/searchGET.js
+++ b/src/api/routes/search/searchGET.js
@@ -53,7 +53,7 @@ class configGET extends Route {
// For each file, create the public link to be able to display the file
for (let file of files) {
- file = Util.constructFilePublicLink(file);
+ file = Util.constructFilePublicLink(req, file);
}
return res.json({