Browse Source

Se retorna el método a patch

Maxi Schvindt 7 years ago
parent
commit
91fa243036
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/FTTHBundle/Controller/REST/ONURESTController.php

+ 2 - 2
src/FTTHBundle/Controller/REST/ONURESTController.php

@@ -80,7 +80,7 @@ class ONURESTController extends RESTController
 
     /**
      * PATCH Route annotation.
-     * @Get("/onus/{id}/apply/{workflow}/{transition}")
+     * @Patch("/onus/{id}/apply/{workflow}/{transition}")
      * @View(statusCode=201, serializerEnableMaxDepthChecks=true)
      *
      * @param Request $request
@@ -123,7 +123,7 @@ class ONURESTController extends RESTController
     }
 
     /**
-     * PATCH Route annotation.
+     * GET Route annotation.
      * @Get("/client/{id}/apply/{transition}")
      * @View(statusCode=201, serializerEnableMaxDepthChecks=true)
      *