#91: Marking method as obsolete and left a todo

This commit is contained in:
phoenix
2025-02-17 19:57:54 -05:00
parent 36544db3b3
commit e61ea68fba
3 changed files with 5 additions and 1 deletions
+2
View File
@@ -14,6 +14,8 @@
/appsettings.Development.json /appsettings.Development.json
appsettings.Development.json appsettings.Development.json
appsettings.json appsettings.json
Icarus/appsettings.Development.json
Icarus/appsettings.json
Icarus/bin Icarus/bin
Icarus/obj Icarus/obj
Models/bin Models/bin
@@ -167,6 +167,7 @@ public class SongManager : BaseManager
} }
// TODO: Delete
public async Task SaveSongToFileSystem(IFormFile songFile) public async Task SaveSongToFileSystem(IFormFile songFile)
{ {
try try
+2 -1
View File
@@ -79,9 +79,10 @@ public class SongDataController : BaseController
// Cover art // Cover art
// //
[HttpPost("upload"), DisableRequestSizeLimit] [HttpPost("upload"), DisableRequestSizeLimit]
[Obsolete("Support for this endoint is no longer supported")]
public IActionResult Upload([FromForm(Name = "file")] List<IFormFile> songData) public IActionResult Upload([FromForm(Name = "file")] List<IFormFile> songData)
{ {
return new StatusCodeResult(410); return new StatusCodeResult(StatusCodes.Status410Gone);
} }
// The client is expected to send the file, metadata, and cover art separately. // The client is expected to send the file, metadata, and cover art separately.