#91: Marking method as obsolete and left a todo
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user