Fix missing var

pull/444/head
connor rigby 2018-02-13 10:22:59 -08:00
parent fe6563c488
commit 5ae6b01c7b
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ defmodule Farmbot.BotState.Transport.AMQP do
{:noreply, [], state}
end
def handle_fbos_config(_, _, %{state_cache: nil}) do
def handle_fbos_config(_, _, %{state_cache: nil} = state) do
# Don't update fbos config, if we don't have a state cache for whatever reason.
{:noreply, [], state}
end