Skip to content

Commit

Permalink
hotfixed an issue where description weren't shown in the project deta…
Browse files Browse the repository at this point in the history
…ils view.

The project was mapped to the wrong DTO.
  • Loading branch information
niraymak committed Mar 19, 2021
1 parent 4b26562 commit 4acd460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion API/Controllers/ProjectController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public async Task<IActionResult> GetProject(int projectId)

if(project.CanAccess(currentUser))
{
return Ok(mapper.Map<Project, ProjectResultResource>(project));
return Ok(mapper.Map<Project, ProjectResourceResult>(project));
}

} else
Expand Down

0 comments on commit 4acd460

Please sign in to comment.