Fix about the favorite DZ

This commit is contained in:
Sébastien André
2021-03-25 16:57:30 +01:00
parent 0a6dbf42e4
commit 9d51f38f2e
10 changed files with 45 additions and 52 deletions

View File

@@ -65,7 +65,7 @@ namespace skydiveLogs_api.Controllers
}
// PUT: api/DropZone/AddToFavorite/5
[HttpPut("{id}")]
[HttpPut("AddToFavorite/{id}")]
[EnableCors]
public bool AddToFavorite(int id)
{
@@ -73,7 +73,7 @@ namespace skydiveLogs_api.Controllers
}
// PUT: api/DropZone/RemoveToFavorite/15
[HttpPut("{id}")]
[HttpPut("RemoveToFavorite/{id}")]
[EnableCors]
public bool RemoveToFavorite(int id)
{