Skip to content

Commit

Permalink
fix: fixed endpoint url of data analytics controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel445Ar committed Nov 12, 2023
1 parent 4541d99 commit a41a866
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
namespace PERUSTARS.DataAnalytics.Interface.REST
{
[ApiController]
[Route("/data-analytics")]
public class DataAnalyticsController : ControllerBase
{
private readonly PeruStarsMLServiceFeignClient _peruStarsMLServiceFeignClient;
Expand All @@ -17,7 +16,7 @@ public DataAnalyticsController(PeruStarsMLServiceFeignClient peruStarsMLServiceF
_peruStarsMLServiceFeignClient = peruStarsMLServiceFeignClient;
}

[HttpGet(Name = "/hobbyists/{hobbyistId}/recommended-artists")]
[HttpGet("api/data-analytics/hobbyists/{hobbyistId}/recommended-artists")]
public async Task<IActionResult> GetFavouristArtistsFrom(long hobbyistId)
{
MLResponse result = await _peruStarsMLServiceFeignClient.GetHobbyistRecommendedArtist(hobbyistId);
Expand Down
Binary file modified PERUSTARS/PERUSTARS/bin/Debug/net5.0/PERUSTARS.dll
Binary file not shown.
Binary file modified PERUSTARS/PERUSTARS/bin/Debug/net5.0/PERUSTARS.pdb
Binary file not shown.
Binary file modified PERUSTARS/PERUSTARS/bin/Release/net5.0/PERUSTARS.dll
Binary file not shown.
Binary file modified PERUSTARS/PERUSTARS/bin/Release/net5.0/PERUSTARS.pdb
Binary file not shown.

0 comments on commit a41a866

Please sign in to comment.