Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/user-timeline
This commit is contained in:
commit
5229b01944
22 changed files with 143 additions and 47 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue