Skip to content

Commit

Permalink
Update user_resource.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
angusmcleod committed Oct 25, 2024
1 parent be5cb36 commit b004019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/subscription_server/user_resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def self.list(user_id, subscriptions)
elsif !user_resource.iam_access_key_id
user_resource.rotate_iam_key
end
if user_resource.iam_key_updated_at > 1.week.ago
if user_resource.iam_key_updated_at < 1.week.ago
user_resource.rotate_iam_key
end
next unless user_resource.iam_ready?
Expand Down

0 comments on commit b004019

Please sign in to comment.