projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dc0b13
)
Consistency
author
Mark Felder
<feld@feld.me>
Thu, 11 Feb 2021 20:27:52 +0000
(14:27 -0600)
committer
Mark Felder
<feld@feld.me>
Thu, 11 Feb 2021 20:27:52 +0000
(14:27 -0600)
lib/pleroma/web/mastodon_api/controllers/status_controller.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/mastodon_api/controllers/status_controller.ex
b/lib/pleroma/web/mastodon_api/controllers/status_controller.ex
index c8f6a299474df165016f1e664018ca277b535ea7..ec3e79ea78ee280f9e045ffc4b83357c5c248ae3 100644
(file)
--- a/
lib/pleroma/web/mastodon_api/controllers/status_controller.ex
+++ b/
lib/pleroma/web/mastodon_api/controllers/status_controller.ex
@@
-420,7
+420,7
@@
defmodule Pleroma.Web.MastodonAPI.StatusController do
end
defp put_application(params, %{assigns: %{token: %{app_id: app_id}}} = _conn) do
-
params |> Map.put(
:application, Pleroma.Web.OAuth.App.get_app_by_id(app_id))
+
Map.put(params,
:application, Pleroma.Web.OAuth.App.get_app_by_id(app_id))
end
defp put_application(params, _), do: Map.put(params, :application, %{name: "Web", website: nil})