Fix credo

This commit is contained in:
connor rigby 2017-12-15 12:04:08 -08:00
parent 1a81b968ff
commit 2fa3978ef9

View file

@ -160,7 +160,7 @@ defmodule Farmbot.Repo do
def handle_call({:register_sync_cmd, remote_id, kind, body}, _from, state) do
maybe_cancel_timer(state.timer)
[_current_repo, other_repo] = state.repos
case SyncCmd.changeset(struct(SyncCmd, %{remote_id: remote_id, kind: kind, body: body}))
|> ConfigStorage.insert() do
{:ok, sync_cmd} ->