1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-19 03:19:17 +00:00

Consistency

This commit is contained in:
Mark Felder 2021-02-11 14:27:52 -06:00
parent 6dc0b13cf8
commit c1d78328ee

View file

@ -420,7 +420,7 @@ def bookmarks(%{assigns: %{user: user}} = conn, params) 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})