Skip to content

Commit

Permalink
Deprecate PlugSignature.ConnTest.with_digest/2
Browse files Browse the repository at this point in the history
  • Loading branch information
voltone committed Aug 31, 2020
1 parent 207fd9e commit fda0dbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/plug_signature/conn_test.ex
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ defmodule PlugSignature.ConnTest do
is calculated and added as part of the header. Alternatively, a map of
digest types and values may be provided.
"""
@deprecated "Use PlugBodyDigest.ConnTest.with_digest/2, from the plug_body_digest package"
def with_digest(conn, body_or_digests)

def with_digest(conn, digests) when is_map(digests) do
Expand Down

0 comments on commit fda0dbd

Please sign in to comment.