diff --git a/Server/Source/Routes/Downloads.ts b/Server/Source/Routes/Downloads.ts index 84e974f..6c4652f 100644 --- a/Server/Source/Routes/Downloads.ts +++ b/Server/Source/Routes/Downloads.ts @@ -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) @@ -98,4 +99,4 @@ async (req, res, next) => { export default { App -} \ No newline at end of file +}