forked from AkkomaGang/akkoma
Consistency
This commit is contained in:
parent
6dc0b13cf8
commit
c1d78328ee
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ def bookmarks(%{assigns: %{user: user}} = conn, params) do
|
||||||
end
|
end
|
||||||
|
|
||||||
defp put_application(params, %{assigns: %{token: %{app_id: app_id}}} = _conn) do
|
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
|
end
|
||||||
|
|
||||||
defp put_application(params, _), do: Map.put(params, :application, %{name: "Web", website: nil})
|
defp put_application(params, _), do: Map.put(params, :application, %{name: "Web", website: nil})
|
||||||
|
|
Loading…
Reference in a new issue