mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Add comment
This commit is contained in:
parent
9c08edeb36
commit
e99c5d7ef5
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ class Domain < ActiveRecord::Base
|
|||
end
|
||||
|
||||
if Domain.find_by(name: x)
|
||||
res << {name: x, avail: 0, reason: 'in use'}
|
||||
res << {name: x, avail: 0, reason: 'in use'} #confirm reason with current API
|
||||
else
|
||||
res << {name: x, avail: 1}
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue