mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-31 04:00:18 -07:00
Fixed: Workaround net6 object serialization issues
This commit is contained in:
parent
814d75c022
commit
25914ddf39
5 changed files with 6 additions and 6 deletions
|
@ -37,7 +37,7 @@ namespace Lidarr.Api.V1.Blocklist
|
||||||
{
|
{
|
||||||
_blocklistService.Delete(resource.Ids);
|
_blocklistService.Delete(resource.Ids);
|
||||||
|
|
||||||
return new object();
|
return new { };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -109,7 +109,7 @@ namespace Lidarr.Api.V1.History
|
||||||
public object MarkAsFailed([FromBody] int id)
|
public object MarkAsFailed([FromBody] int id)
|
||||||
{
|
{
|
||||||
_failedDownloadService.MarkAsFailed(id);
|
_failedDownloadService.MarkAsFailed(id);
|
||||||
return new object();
|
return new { };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -105,7 +105,7 @@ namespace Lidarr.Api.V1
|
||||||
public object DeleteProvider(int id)
|
public object DeleteProvider(int id)
|
||||||
{
|
{
|
||||||
_providerFactory.Delete(id);
|
_providerFactory.Delete(id);
|
||||||
return new object();
|
return new { };
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpGet("schema")]
|
[HttpGet("schema")]
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace Lidarr.Api.V1.Queue
|
||||||
|
|
||||||
_downloadService.DownloadReport(pendingRelease.RemoteAlbum);
|
_downloadService.DownloadReport(pendingRelease.RemoteAlbum);
|
||||||
|
|
||||||
return new object();
|
return new { };
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpPost("grab/bulk")]
|
[HttpPost("grab/bulk")]
|
||||||
|
@ -49,7 +49,7 @@ namespace Lidarr.Api.V1.Queue
|
||||||
_downloadService.DownloadReport(pendingRelease.RemoteAlbum);
|
_downloadService.DownloadReport(pendingRelease.RemoteAlbum);
|
||||||
}
|
}
|
||||||
|
|
||||||
return new object();
|
return new { };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,7 +86,7 @@ namespace Lidarr.Api.V1.Queue
|
||||||
|
|
||||||
_trackedDownloadService.StopTracking(trackedDownloadIds);
|
_trackedDownloadService.StopTracking(trackedDownloadIds);
|
||||||
|
|
||||||
return new object();
|
return new { };
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue