Scott Hiett commited on
Commit
f441147
·
1 Parent(s): 21d5884

Remove unused variable

Browse files
lib/srh/http/content_type_check_plug.ex CHANGED
@@ -31,7 +31,7 @@ defmodule Srh.Http.ContentTypeCheckPlug do
31
  conn
32
 
33
  # Either missing, or a type that we don't support
34
- other ->
35
  # Return a custom error, ensuring the same format as the other errors
36
  conn
37
  |> put_resp_content_type("application/json")
 
31
  conn
32
 
33
  # Either missing, or a type that we don't support
34
+ _ ->
35
  # Return a custom error, ensuring the same format as the other errors
36
  conn
37
  |> put_resp_content_type("application/json")