Skip to content

Commit

Permalink
Added extra route for the media upload API
Browse files Browse the repository at this point in the history
  • Loading branch information
stevandoMoodle committed Feb 15, 2023
1 parent dbc9747 commit 0105395
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file not shown.
3 changes: 2 additions & 1 deletion application/src/Controller/MediaController.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public function endpoint() : JsonResponse
/**
* Create Matrix room.
*
* @Route("/upload", name="uploadMedia")
* @Route("/upload")
* @Route("/upload/")
* @param string $serverID
* @param Request $request
* @return JsonResponse
Expand Down

0 comments on commit 0105395

Please sign in to comment.