Skip to content

Commit 7acd3e8

Browse files
committed
chore: update options arg of overloaded method
1 parent 6dca1b5 commit 7acd3e8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/signature-v4/src/SignatureV4.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,7 @@ export class SignatureV4
201201
requestToSign: HttpRequest,
202202
options?: RequestSigningArguments
203203
): Promise<HttpRequest>;
204-
public async sign(
205-
toSign: any,
206-
{ signingDate = new Date(), ...options }: any
207-
): Promise<any> {
204+
public async sign(toSign: any, options: any): Promise<any> {
208205
if (typeof toSign === "string") {
209206
return this.signString(toSign, options);
210207
} else if (toSign.headers && toSign.payload) {

0 commit comments

Comments
 (0)