Skip to content

Commit

Permalink
remove our default with else, its not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
joshk committed Dec 11, 2023
1 parent 06015f1 commit 21ed661
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/nerves_hub_web/channels/device_socket_token_auth.ex
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ defmodule NervesHubWeb.DeviceSocketTokenAuth do
|> assign(:reference_id, generate_reference_id())

{:ok, socket}
else
_ -> :error
end
end

Expand Down

0 comments on commit 21ed661

Please sign in to comment.