Update StatusController

This commit is contained in:
Daniel Supernault 2018-12-01 23:39:29 -07:00
parent 71393514b2
commit a3ec4a7f4c
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -115,7 +115,7 @@ class StatusController extends Controller
$order++;
}
$status->type = $this->mimeTypeCheck($mimes);
$status->type = (new self)::mimeTypeCheck($mimes);
$status->save();
NewStatusPipeline::dispatch($status);