Skip to content

Commit

Permalink
do what people want
Browse files Browse the repository at this point in the history
  • Loading branch information
haiqi96 committed Aug 12, 2024
1 parent 2addf70 commit 7bf85e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/core/src/clp/aws/AwsAuthenticationSigner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ auto AwsAuthenticationSigner::get_canonical_query_string(
cXAmzDate,
timestamp,
cXAmzExpires,
cDefaultExpireTime,
cDefaultExpireTime.count(),
cXAmzSignedHeaders,
cDefaultSignedHeaders
);
Expand Down
2 changes: 1 addition & 1 deletion components/core/src/clp/aws/AwsAuthenticationSigner.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class AwsAuthenticationSigner {
public:
// Constants
// Default expire time of presigned URL in seconds
static constexpr size_t cDefaultExpireTime{86'400}; // 24 hours
static constexpr std::chrono::seconds cDefaultExpireTime{86'400}; // 24 hours
static constexpr std::string_view cHttpGetMethod{"GET"};
// Constructors
AwsAuthenticationSigner(std::string access_key_id, std::string secret_access_key)
Expand Down

0 comments on commit 7bf85e5

Please sign in to comment.