It looks like the code expects to be able to use a site_id param from the route, however the router was configured to use siteId as the name of the param.
As site_id is used in all the other routes, and is what is expected in the code I have modified this.
I have also modified the media controller to throw an error if it doesn't get a site_id together when creating media.
Make uploading new media work on profiles.
It looks like the code expects to be able to use a site_id param from the route, however the router was configured to use siteId as the name of the param.
As site_id is used in all the other routes, and is what is expected in the code I have modified this.
I have also modified the media controller to throw an error if it doesn't get a site_id together when creating media.