mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 07:52:04 +02:00
Update documentation for registry lock.
Also, make rewrite the return error message using better grammar
This commit is contained in:
parent
0c7c8eb480
commit
97617764fb
3 changed files with 4 additions and 4 deletions
|
@ -17,7 +17,7 @@ module Api
|
|||
if @domain.remove_registry_lock
|
||||
render json: @domain
|
||||
else
|
||||
render json: { errors: [{ base: ['Domain not locked'] }] },
|
||||
render json: { errors: [{ base: ['Domain is not locked'] }] },
|
||||
status: :unprocessable_entity
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue