Skip to content

Commit

Permalink
fixing type checker pattern match warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mekaem committed Jul 4, 2024
1 parent d545572 commit 9c7c904
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/hexpds/service/http.ex
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,14 @@ defmodule Hexpds.Http do
{statuscode, json_resp} = xrpc_procedure(conn, method, body, get_context(conn))

case json_resp do
{:blob, blob} ->
%{
accessJwt: _accessJwt,
did: _did,
error: _error,
handle: _handle,
message: _message,
refreshJwt: _refreshJwt
} = blob ->
conn
|> Plug.Conn.put_resp_content_type(blob.mime_type)
|> Plug.Conn.send_resp(200, blob.data)
Expand Down

0 comments on commit 9c7c904

Please sign in to comment.