Re-add authentication to song download
This commit is contained in:
parent
6764b39137
commit
093475065f
|
@ -73,6 +73,7 @@ async (req, res) => {
|
|||
});
|
||||
|
||||
App.get("/:InternalID",
|
||||
RequireAuthentication()
|
||||
async (req, res, next) => {
|
||||
const SongData = await Song.findOne({ where: { ID: req.params.InternalID }, relations: { Author: true } });
|
||||
if (!SongData)
|
||||
|
|
Loading…
Reference in New Issue
Block a user