From d89077b7b1e56a335e24e6b7c56d19242c4a53ae Mon Sep 17 00:00:00 2001 From: Josh Kalderimis Date: Mon, 11 Dec 2023 13:45:02 +1300 Subject: [PATCH] mix format, my best friend and my worst enemy --- lib/nerves_hub_web/channels/device_socket_token_auth.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/nerves_hub_web/channels/device_socket_token_auth.ex b/lib/nerves_hub_web/channels/device_socket_token_auth.ex index b763e9905..950a0379f 100644 --- a/lib/nerves_hub_web/channels/device_socket_token_auth.ex +++ b/lib/nerves_hub_web/channels/device_socket_token_auth.ex @@ -28,7 +28,8 @@ defmodule NervesHubWeb.DeviceSocketTokenAuth do {:ok, access_id} <- Keyword.fetch(parsed_data, :access_id), {:ok, token_auth} <- get_product_token_auth(access_id), {:ok, signature} <- Keyword.fetch(parsed_data, :signature), - {:ok, identifier} <- Crypto.verify(token_auth.secret, salt, signature, verification_options), + {:ok, identifier} <- + Crypto.verify(token_auth.secret, salt, signature, verification_options), {:ok, device} <- Devices.get_or_create_device(token_auth: token_auth, identifier: identifier) do socket =