Skip to content

Commit fc11d28

Browse files
committed
Simplify timestamp validator retrieval by removing memoization
1 parent b46868b commit fc11d28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/hooks/plugins/auth/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def self.fetch_secret(config, secret_env_key_name: :secret_env_key)
5858
#
5959
# @return [TimestampValidator] Singleton timestamp validator instance
6060
def self.timestamp_validator
61-
@timestamp_validator ||= TimestampValidator.new
61+
TimestampValidator.new
6262
end
6363

6464
# Find a header value by name with case-insensitive matching

0 commit comments

Comments
 (0)