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:
parent
77e583c7cb
commit
75e7fe76fe
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue