Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into ostatus
[akkoma] / lib / pleroma / web / activity_pub / activity_pub.ex
index eca9f3a05ac6fb8b5cfb1323253e6e62b12c5dba..e9f0dcd3290bfb213c596c1cca2f4400610d2ace 100644 (file)
@@ -174,7 +174,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
     Repo.all(query)
   end
 
-  def upload(%Plug.Upload{} = file) do
+  def upload(file) do
     data = Upload.store(file)
     Repo.insert(%Object{data: data})
   end