mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 06:26:15 +02:00
Fixes after repp-apidoc update
This commit is contained in:
parent
c7701ce1b1
commit
26cb791586
11 changed files with 25 additions and 38 deletions
|
@ -63,7 +63,7 @@ module Repp
|
|||
desc 'Check contact code availability'
|
||||
def check
|
||||
contact = Epp::Contact.find_by(code: params[:id])
|
||||
data = { contact: { id: params[:id], available: contact.nil? } }
|
||||
data = { contact: { code: params[:id], available: contact.nil? } }
|
||||
|
||||
render_success(data: data)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue