Skip to content

Commit

Permalink
Changed the encode to content_uri for the media upload API
Browse files Browse the repository at this point in the history
  • Loading branch information
stevandoMoodle committed Feb 14, 2023
1 parent 5838d8e commit dbc9747
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion application/src/Controller/MediaController.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function uploadMedia(string $serverID, Request $request) : JsonResponse {
$entityManager->flush();

return new JsonResponse((object) [
'encode' => $contenturi,
'content_uri' => $contenturi,
], 200);
}
}

0 comments on commit dbc9747

Please sign in to comment.