Skip to content

Commit

Permalink
refactor(Meetings): use simplified HttpPatch Attribute name (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
dushanpantic authored Apr 14, 2024
1 parent 04a91f2 commit faf4240
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public MeetingCommentingConfigurationController(IMeetingsModule meetingsModule)
_meetingsModule = meetingsModule;
}

[HttpPatchAttribute("disable")]
[HttpPatch("disable")]
[HasPermission(MeetingsPermissions.DisableMeetingCommenting)]
[ProducesResponseType(StatusCodes.Status200OK)]
public async Task<IActionResult> DisableCommenting(Guid meetingId)
Expand All @@ -26,7 +26,7 @@ public async Task<IActionResult> DisableCommenting(Guid meetingId)
return Ok();
}

[HttpPatchAttribute("enable")]
[HttpPatch("enable")]
[HasPermission(MeetingsPermissions.EnableMeetingCommenting)]
[ProducesResponseType(StatusCodes.Status200OK)]
public async Task<IActionResult> EnableCommenting(Guid meetingId)
Expand Down

0 comments on commit faf4240

Please sign in to comment.