mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 16:31:41 +00:00
feat: guardar la api key de njalla en las credenciales
This commit is contained in:
parent
ecd8c80e02
commit
3abd87e8e6
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