5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 22:26:22 +00:00

Simplificar emisión y renovación de certificados

https://0xacab.org/sutty/sutty/-/issues/123#note_299672
This commit is contained in:
f 2021-08-08 21:55:22 -03:00
parent 77e583c7cb
commit 75e7fe76fe

View file

@ -25,7 +25,7 @@ module Api
# @params [String] name
# @params [String] onion
def add_onion
if site
if (site = Site.find_by_name(params[:name]))
usuarie = GitAuthor.new email: "tor@#{Site.domain}", name: 'Tor'
service = SiteService.new site: site, usuarie: usuarie,
params: params