aboutsummaryrefslogtreecommitdiff
path: root/src/api/routes/albums
diff options
context:
space:
mode:
authorPitu <[email protected]>2020-05-11 00:57:56 +0900
committerPitu <[email protected]>2020-05-11 00:57:56 +0900
commit496477ebda3f6c347a9944e22daae447d15ebc31 (patch)
treec9449d39ec3f15a3a69a790fbe4c6fce60811b1d /src/api/routes/albums
parentchore: cleanup and todo (diff)
downloadhost.fuwn.me-496477ebda3f6c347a9944e22daae447d15ebc31.tar.xz
host.fuwn.me-496477ebda3f6c347a9944e22daae447d15ebc31.zip
Feature: enable apiKey access to uploads and album fetching for the uploader/sharex/3rd party
Diffstat (limited to 'src/api/routes/albums')
-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 c61ad03..bbd3cae 100644
--- a/src/api/routes/albums/albumsGET.js
+++ b/src/api/routes/albums/albumsGET.js
@@ -69,7 +69,7 @@ class albumsGET extends Route {
class albumsDropdownGET extends Route {
constructor() {
- super('/albums/dropdown', 'get');
+ super('/albums/dropdown', 'get', { canApiKey: true });
}
async run(req, res, db, user) {