diff options
| author | Pitu <[email protected]> | 2020-05-11 00:57:56 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2020-05-11 00:57:56 +0900 |
| commit | 496477ebda3f6c347a9944e22daae447d15ebc31 (patch) | |
| tree | c9449d39ec3f15a3a69a790fbe4c6fce60811b1d /src/api/routes/albums | |
| parent | chore: cleanup and todo (diff) | |
| download | host.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.js | 2 |
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) { |