Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bergomi02 committed Oct 17, 2024
1 parent 2ec88f8 commit 93a02c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prime-dotnet-webapi/Controllers/SitesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1463,7 +1463,8 @@ public async Task<ActionResult> RestoreSite(int siteId, SiteNoteUpdateModel site
[ProducesResponseType(StatusCodes.Status200OK)]
public async Task<ActionResult> CanBeRestore(int siteId)
{
return Ok(!await _siteService.CanBeRestore(siteId));
var result = await _siteService.CanBeRestore(siteId);
return Ok(result);
}
}
}

0 comments on commit 93a02c3

Please sign in to comment.