Skip to content

Commit 687e7e1

Browse files
committed
bugfix: removed erroneous query param
1 parent 311f567 commit 687e7e1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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)