projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'update-frontend-c4fcdc71' into 'develop'
[akkoma]
/
lib
/
pleroma
/
web
/
uploader_controller.ex
diff --git
a/lib/pleroma/web/uploader_controller.ex
b/lib/pleroma/web/uploader_controller.ex
index 6c28d1197b1c22188b117f7007e790c4c066a9d3..5d8a77346fb6d3f299d8300206f2061fe61840c6 100644
(file)
--- a/
lib/pleroma/web/uploader_controller.ex
+++ b/
lib/pleroma/web/uploader_controller.ex
@@
-3,7
+3,7
@@
defmodule Pleroma.Web.UploaderController do
alias Pleroma.Uploaders.Uploader
alias Pleroma.Uploaders.Uploader
- def callback(conn,
params = %{"upload_path" => upload_path}
) do
+ def callback(conn,
%{"upload_path" => upload_path} = params
) do
process_callback(conn, :global.whereis_name({Uploader, upload_path}), params)
end
process_callback(conn, :global.whereis_name({Uploader, upload_path}), params)
end