Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziosestito committed Dec 30, 2021
1 parent 9d9ec3e commit 14f5ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tronto_web/controllers/discovery_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ defmodule TrontoWeb.DiscoveryController do

@spec collect(Plug.Conn.t(), map) :: Plug.Conn.t()
def collect(conn, event) do

case Monitoring.handle_discovery_event(event) do
:ok ->
conn
|> put_status(:accepted)
|> json(%{})

{:error, reason} ->
conn
|> put_status(:bad_request)
Expand Down

0 comments on commit 14f5ebd

Please sign in to comment.