fix whitespace.
parent
02349dfd46
commit
9773404a62
|
@ -52,7 +52,7 @@ defmodule Farmbot.Bootstrap.Authorization do
|
|||
{:ok, resp} <- request_token(server, payload),
|
||||
{:ok, body} <- Poison.decode(resp),
|
||||
{:ok, map} <- Map.fetch(body, "token") do
|
||||
Farmbot.System.GPIO.Leds.led_status_ok()
|
||||
Farmbot.System.GPIO.Leds.led_status_ok()
|
||||
Map.fetch(map, "encoded")
|
||||
else
|
||||
:error -> {:error, "unknown error."}
|
||||
|
|
Loading…
Reference in New Issue