mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-14 03:24:04 +00:00
10 lines
180 B
Elixir
10 lines
180 B
Elixir
|
defmodule Pleroma.Web.ControllerHelper do
|
||
|
use Pleroma.Web, :controller
|
||
|
|
||
|
def json_response(conn, status, json) do
|
||
|
conn
|
||
|
|> put_status(status)
|
||
|
|> json(json)
|
||
|
end
|
||
|
end
|