mix format
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
1edda97964
commit
0424697a2e
2 changed files with 7 additions and 2 deletions
|
@ -1278,7 +1278,7 @@ defp restrict_quote_url(query, _), do: query
|
||||||
defp restrict_join_state(query, %{state: state}) when is_binary(state) do
|
defp restrict_join_state(query, %{state: state}) when is_binary(state) do
|
||||||
from(
|
from(
|
||||||
[activity] in query,
|
[activity] in query,
|
||||||
where: fragment("(?)->>'state' = ?", activity.data, ^state),
|
where: fragment("(?)->>'state' = ?", activity.data, ^state)
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -206,7 +206,12 @@ def joined_events_operation do
|
||||||
| pagination_params()
|
| pagination_params()
|
||||||
],
|
],
|
||||||
responses: %{
|
responses: %{
|
||||||
200 => Operation.response("Array of Statuses", "application/json", StatusOperation.array_of_statuses())
|
200 =>
|
||||||
|
Operation.response(
|
||||||
|
"Array of Statuses",
|
||||||
|
"application/json",
|
||||||
|
StatusOperation.array_of_statuses()
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue