We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 6f410eda authored by mattl's avatar mattl

scoped instead of auth_user->getProfile()

parent 82b335dc
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment