mirror of
https://github.com/YunoHost/dynette.git
synced 2024-09-03 20:06:17 +02:00
[mod] apparently yunohost standard is to return 201
This commit is contained in:
parent
464fd1ffc2
commit
dfcfbf472b
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ put '/migrate_key_to_sha512/:public_key' do
|
|||
# himself
|
||||
`rndc flush`
|
||||
|
||||
halt 200, { :public_key => entry.public_key, :subdomain => entry.subdomain, :current_ip => entry.current_ip }.to_json
|
||||
halt 201, { :public_key => entry.public_key, :subdomain => entry.subdomain, :current_ip => entry.current_ip }.to_json
|
||||
end
|
||||
|
||||
# Update a sub-domain
|
||||
|
|
Loading…
Reference in a new issue