Merge pull request #3798 from bernarden/bug/3773-swagger-endpoint-conflict

Resolves endpoint conflict for swagger.
pull/3816/head
Jamie 4 years ago committed by GitHub
commit 95545939b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -110,9 +110,8 @@ namespace Ombi.Controllers.V1.External
/// <summary> /// <summary>
/// Gets the Radarr tags /// Gets the Radarr tags
/// </summary> /// </summary>
/// <param name="settings">The settings.</param>
/// <returns></returns> /// <returns></returns>
[HttpPost("tags")] [HttpGet("tags")]
[PowerUser] [PowerUser]
public async Task<IEnumerable<Tag>> GetTags() public async Task<IEnumerable<Tag>> GetTags()
{ {

@ -117,9 +117,8 @@ namespace Ombi.Controllers.V1.External
/// <summary> /// <summary>
/// Gets the Sonarr tags /// Gets the Sonarr tags
/// </summary> /// </summary>
/// <param name="settings">The settings.</param>
/// <returns></returns> /// <returns></returns>
[HttpPost("tags")] [HttpGet("tags")]
[PowerUser] [PowerUser]
public async Task<IEnumerable<Tag>> GetTags() public async Task<IEnumerable<Tag>> GetTags()
{ {

Loading…
Cancel
Save