This commit is contained in:
Hamid Reza Mohammadi 2025-03-08 15:03:32 +03:30
parent 842372d5fe
commit 591510c552

View File

@ -1420,7 +1420,7 @@ namespace RMuseum.Controllers
[Authorize]
[ProducesResponseType((int)HttpStatusCode.OK, Type = typeof(RUserBookmark[]))]
[ProducesResponseType((int)HttpStatusCode.BadRequest, Type = typeof(string))]
public async Task<IActionResult> GeIArtifactUserBookmarks(Guid artifactId)
public async Task<IActionResult> GetArtifactUserBookmarks(Guid artifactId)
{
Guid loggedOnUserId = new Guid(User.Claims.FirstOrDefault(c => c.Type == "UserId").Value);
RServiceResult<RUserBookmark[]> res = await _artifactService.GetArtifactUserBookmarks(artifactId, loggedOnUserId);