mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-07 07:36:58 +00:00
Fix cops StringConcatenation
This commit is contained in:
committed by
Maikel Linke
parent
a84c947d66
commit
a2a670c848
@@ -37,7 +37,7 @@ module Admin
|
||||
|
||||
def obfuscated_secret_key
|
||||
key = Stripe.api_key
|
||||
key.first(8) + "****" + key.last(4)
|
||||
"#{key.first(8)}****#{key.last(4)}"
|
||||
end
|
||||
|
||||
def settings_params
|
||||
|
||||
Reference in New Issue
Block a user