mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 09:46:09 +02:00
parent
0db3dcf4c3
commit
316059a46b
1 changed files with 3 additions and 1 deletions
|
@ -35,9 +35,11 @@ module Repp
|
||||||
|
|
||||||
if errors.none?
|
if errors.none?
|
||||||
status 204
|
status 204
|
||||||
|
body false
|
||||||
|
@response = {}
|
||||||
else
|
else
|
||||||
status 400
|
status 400
|
||||||
{ errors: errors }
|
@response = { errors: errors }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue