Skip to content

Commit 7bc7c97

Browse files
committed
Fix dialyzer error in the sign_v4_event/7 spec
The returned headers are custom and do not match the headers() type.
1 parent 10d3e75 commit 7bc7c97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aws_signature.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ sign_v4(AccessKeyID, SecretAccessKey, Region, Service, DateTime, Method, URL, He
137137
PriorSignature :: binary(),
138138
HeaderString :: binary(),
139139
Body :: binary(),
140-
Headers :: headers(),
140+
Headers :: [{binary(), binary(), atom()}],
141141
Signature :: binary().
142142
sign_v4_event(SecretAccessKey, Region, Service, DateTime, PriorSignature, HeaderString, Body)
143143
when is_binary(SecretAccessKey),

0 commit comments

Comments
 (0)