mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-18 07:16:21 +00:00
feat: guardar la api key de njalla en las credenciales
This commit is contained in:
parent
e0def84ff4
commit
66df2a971c
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ class DeployDistributedPress < Deploy
|
|||
def njalla
|
||||
@njalla ||=
|
||||
begin
|
||||
client = Njalla::V1::Client.new(token: ENV['NJALLA_TOKEN'])
|
||||
client = Njalla::V1::Client.new(token: Rails.application.credentials.njalla)
|
||||
|
||||
Njalla::V1::Domain.new(domain: Site.domain, client: client)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue