maintenance: dependency upgrade #81

Merged
floatingghost merged 3 commits from maintenance/dep-upgrade into develop 2022-07-18 00:56:36 +00:00
3 changed files with 7 additions and 4 deletions
Showing only changes of commit 02f01d0a71 - Show all commits

View file

@ -31,7 +31,8 @@ defp render_feed(conn, %{"tag" => raw_tag} = params) do
|> render("tag.#{format}",
activities: activities,
tag: tag,
feed_config: Config.get([:feed])
feed_config: Config.get([:feed]),
view_module: FeedView
)
end

View file

@ -60,7 +60,8 @@ def feed(conn, %{"nickname" => nickname} = params) do
|> render("user.#{format}",
user: user,
activities: activities,
feed_config: Config.get([:feed])
feed_config: Config.get([:feed]),
view_module: FeedView
)
end
end

View file

@ -101,7 +101,8 @@ defp do_authorize(%Plug.Conn{} = conn, params) do
scopes: scopes,
redirect_uri: params["redirect_uri"],
state: params["state"],
params: params
params: params,
view_module: OAuthView
})
end
@ -160,7 +161,7 @@ def after_create_authorization(%Plug.Conn{} = conn, %Authorization{} = auth, %{
# Enforcing the view to reuse the template when calling from other controllers
conn
|> put_view(OAuthView)
|> render("oob_authorization_created.html", %{auth: auth})
|> render("oob_authorization_created.html", %{auth: auth, view_module: OAuthView})
end
def after_create_authorization(%Plug.Conn{} = conn, %Authorization{} = auth, %{