File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -151,8 +151,8 @@ router.group(() => {
151151 router . get ( '/team/:teamId' , [ HackathonController , 'indexHackathonSubmissionsByTeam' ] )
152152 router . get ( '/task/:taskId' , [ HackathonController , 'indexHackathonSubmissionsByTask' ] )
153153 router . get ( '/:id' , [ HackathonController , 'showHackathonSubmission' ] )
154- router . put ( '/:id' , [ HackathonController , 'updateHackathonSubmission' ] )
155- router . patch ( '/:id' , [ HackathonController , 'updateHackathonSubmission' ] )
154+ router . put ( '/:id' , [ HackathonController , 'updateHackathonSubmission' ] ) . as ( 'hackathon.update_submission_put' )
155+ router . patch ( '/:id' , [ HackathonController , 'updateHackathonSubmission' ] ) . as ( 'hackathon.update_submission_patch' )
156156 router . delete ( '/:id' , [ HackathonController , 'destroyHackathonSubmission' ] )
157157} ) . prefix ( 'hackathon/submissions' ) . use ( middleware . auth ( ) )
158158
You can’t perform that action at this time.
0 commit comments