We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db6f671 commit e9bba8aCopy full SHA for e9bba8a
app/models/book_store.rb
@@ -84,7 +84,7 @@ def get_client
84
85
def get_resource
86
Rails.logger.warn("[BookStore] get_resource called")
87
- if !@resource || credentials_expired?(@resource)
+ if !@resource || credentials_expired?(@resource.client)
88
@resource = Aws::S3::Resource.new(self.class.client_options)
89
end
90
@resource
0 commit comments