Skip to content

Commit 2bc7d29

Browse files
committed
fix(cloudfront-signer): fix type eror
1 parent 3bfae30 commit 2bc7d29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cloudfront-signer/src/sign.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,14 +634,14 @@ describe("getSignedUrl- when signing a URL with a date range", () => {
634634
const resultUrl = getSignedUrl({
635635
url,
636636
keyPairId,
637-
dateLessThan: dateNumber,
637+
dateLessThan: dateNumber as unknown as string,
638638
privateKey,
639639
passphrase,
640640
});
641641
const resultCookies = getSignedCookies({
642642
url,
643643
keyPairId,
644-
dateLessThan: dateNumber,
644+
dateLessThan: dateNumber as unknown as string,
645645
privateKey,
646646
passphrase,
647647
});

0 commit comments

Comments
 (0)