From 32330177592cda9dd999f9601bd544a7c3d3860d Mon Sep 17 00:00:00 2001 From: Nicholas W Date: Sat, 31 Aug 2024 22:28:53 -0700 Subject: [PATCH] Fix comment for upload --- server/controllers/MiscController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/controllers/MiscController.js b/server/controllers/MiscController.js index be8ef60c0..58fec3cc9 100644 --- a/server/controllers/MiscController.js +++ b/server/controllers/MiscController.js @@ -49,7 +49,7 @@ class MiscController { return res.status(404).send(`Library not found with id ${libraryId}`) } const folder = await Database.libraryFolderModel.findByPk(folderId) - // Verify the folder matches the library ID so we don't accidentally add a podcast to the wrong path + // Verify the folder matches the library ID so we don't accidentally upload to the wrong library if (!folder || folder.libraryId !== library.id) { return res.status(404).send(`Folder not found with id ${folderId} in library ${library.name}`) }