aboutsummaryrefslogtreecommitdiff
path: root/src/api/routes/albums/albumsGET.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/albums/albumsGET.js')
-rw-r--r--src/api/routes/albums/albumsGET.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/albums/albumsGET.js b/src/api/routes/albums/albumsGET.js
index 3c18d8f..98cc82e 100644
--- a/src/api/routes/albums/albumsGET.js
+++ b/src/api/routes/albums/albumsGET.js
@@ -37,7 +37,7 @@ class albumsGET extends Route {
// Fetch thumbnails and stuff
for (let file of files) {
- file = Util.constructFilePublicLink(file);
+ file = Util.constructFilePublicLink(req, file);
}
album.fileCount = fileCount[0].count;