5
0
Fork 0
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:
f 2023-03-23 17:11:51 -03:00
parent e0def84ff4
commit 66df2a971c

View file

@ -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