Skip to content

Commit f620fb2

Browse files
committed
Merge branch 'meta-views' into nested-formats
2 parents 68bd434 + 687e7e1 commit f620fb2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

app/V1Module/presenters/ExercisesPresenter.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -873,9 +873,8 @@ public function checkAddTag(string $id)
873873
* @throws ForbiddenRequestException
874874
* @throws InvalidArgumentException
875875
*/
876-
#[Query("name", new VString(1, 32), "Name of the newly added tag to given exercise")]
877876
#[Path("id", new VString(), required: true)]
878-
#[Path("name", new VString(), required: true)]
877+
#[Path("name", new VString(1, 32), "Name of the newly added tag to given exercise", required: true)]
879878
public function actionAddTag(string $id, string $name)
880879
{
881880
if (!$this->exerciseTags->verifyTagName($name)) {

0 commit comments

Comments
 (0)