Skip to content

Commit

Permalink
Merge pull request #133 from sutatoruta/master
Browse files Browse the repository at this point in the history
Fix a viewer error that occurs when AWS is not used.
  • Loading branch information
tyage authored Oct 10, 2022
2 parents c86c477 + 08bb0e5 commit 1c53eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viewer/viewer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
$config = SlackPatronConfig.config
$signer = nil

if $config.has_key? :aws
if $config[:aws]&.values.all?
Aws.config.update({
credentials: Aws::Credentials.new(
$config[:aws][:access_key_id],
Expand Down

0 comments on commit 1c53eb0

Please sign in to comment.