#103: Adding checks to prevent .wav files from being uploaded:

This commit is contained in:
kdeng00 committed 2024-08-05 20:12:52 -04:00
1 parent a89580ac70
commit 77030c6347
2 files changed
+4 -2

No files matched your search

@@ -196,6 +196,7 @@ public class SongManager : BaseManager
}
// Change the name of this method to only focus on wav files
[Obsolete("Support for uplodaing wav files will end. Use the flac alternative instead - SaveFlacSongToFileSystem(..)")]
public Song SaveSongToFileSystem(IFormFile songFile, IFormFile coverArtData, Song song)
{
if (string.IsNullOrEmpty(song.SongDirectory))