Skip to content
Snippets Groups Projects
Commit 238bc5be authored by Benedikt Heinrichs's avatar Benedikt Heinrichs
Browse files

Fix: Deal with "give all" endpoint (coscine/issues#2015)

parent bbb28e69
No related branches found
No related tags found
4 merge requests!196Release: Sprint/2022 05 :robot:,!194Chore: 2.6.2,!193Fix: Deal with "give all" endpoints (coscine/issues#2015),!192Fix: Deal with "give all" endpoints (coscine/issues#2015)
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
......@@ -39,17 +39,6 @@ namespace Coscine.Api.Project.Controllers
_analyticsLogObject = new AnalyticsLogObject();
}
/// <summary>
/// Searchs no filter
/// </summary>
/// <returns>Ok</returns>
[HttpGet("[controller]/allNoFilter/")]
public IActionResult SearchNoFilter()
{
var user = _authenticator.GetUser();
return Ok(GetSearchResults(user.Id, "", ""));
}
/// <summary>
/// Returns results for the search word
/// </summary>
......@@ -62,18 +51,6 @@ namespace Coscine.Api.Project.Controllers
return Ok(GetSearchResults(user.Id, encodedSearchWord, ""));
}
/// <summary>
/// Returns searched projects with no filter
/// </summary>
/// <param name="projectId">Id of the project</param>
/// <returns>Ok</returns>
[HttpGet("[controller]/projectNoFilter/{projectId}")]
public IActionResult SearchProjectNoFilter(string projectId)
{
var user = _authenticator.GetUser();
return Ok(GetSearchResults(user.Id, "", projectId));
}
/// <summary>
/// Returns searched projects
/// </summary>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment