Skip to content

Commit

Permalink
Fix storage.yml and remove duplicate in Raven user context
Browse files Browse the repository at this point in the history
  • Loading branch information
kwfk committed Aug 3, 2020
1 parent 43e23f5 commit fb8978f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def set_raven_context
admin: current_user.admin,
provider: current_user.provider,
uid: current_user.uid,
user_type: current_user.user_type,
)
end
end
Expand Down
6 changes: 3 additions & 3 deletions config/storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ local:
# # Use rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
amazon:
service: S3
access_key_id: ENV[S3_KEY]
secret_access_key: ENV[S3_SECRET]
access_key_id: ENV["S3_KEY"]
secret_access_key: ENV["S3_SECRET"]
region: "us-west-2"
bucket: ENV[S3_BUCKET]
bucket: ENV["S3_BUCKET"]



Expand Down

0 comments on commit fb8978f

Please sign in to comment.