scoped instead of auth_user->getProfile()
Showing with 1 addition and 1 deletion
We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.
|...||...||@@ -73,7 +73,7 @@ class ApiMediaUploadAction extends ApiAuthAction|
|// we could catch "NoUploadedMediaException" as "no media uploaded", but here we _always_ want an upload|
|$upload = MediaFile::fromUpload('media', $this->auth_user->getProfile());|
|$upload = MediaFile::fromUpload('media', $this->scoped);|
git.gnu.io is graciously hosted by the Free Software Foundation. https://donate.fsf.org