Skip to content

Commit

Permalink
Merge branch 'meta-views' into nested-formats
Browse files Browse the repository at this point in the history
  • Loading branch information
eceltov committed Mar 6, 2025
2 parents 68bd434 + 687e7e1 commit f620fb2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/V1Module/presenters/ExercisesPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -873,9 +873,8 @@ public function checkAddTag(string $id)
* @throws ForbiddenRequestException
* @throws InvalidArgumentException
*/
#[Query("name", new VString(1, 32), "Name of the newly added tag to given exercise")]
#[Path("id", new VString(), required: true)]
#[Path("name", new VString(), required: true)]
#[Path("name", new VString(1, 32), "Name of the newly added tag to given exercise", required: true)]
public function actionAddTag(string $id, string $name)
{
if (!$this->exerciseTags->verifyTagName($name)) {
Expand Down

0 comments on commit f620fb2

Please sign in to comment.