Skip to content

Commit

Permalink
Allow users to edit frequency of missions
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddasol committed Dec 2, 2024
1 parent 0ec2555 commit a0cf432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/api/Controllers/MissionDefinitionController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public async Task<ActionResult<MissionRun>> GetNextMissionRun([FromRoute] string
/// <response code="400"> The mission definition data is invalid </response>
/// <response code="404"> There was no mission definition with the given ID in the database </response>
[HttpPut]
[Authorize(Roles = Role.Admin)]
[Authorize(Roles = Role.Any)]
[Route("{id}")]
[ProducesResponseType(typeof(MissionDefinitionResponse), StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status400BadRequest)]
Expand Down

0 comments on commit a0cf432

Please sign in to comment.