mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 05:34:46 +02:00
Return created/updated ContactRequest in body
This commit is contained in:
parent
402005cda1
commit
83b5dc6fc7
2 changed files with 6 additions and 6 deletions
|
@ -21,6 +21,7 @@ class ContactRequest < ApplicationRecord
|
|||
contact_request.valid_to = set_valid_to_24_hours_from_now
|
||||
contact_request.status = STATUS_NEW
|
||||
contact_request.save!
|
||||
contact_request
|
||||
end
|
||||
|
||||
def update_status(params)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue