Merge branch 'staging' of github.com:jedmund/hensei-api into staging
This commit is contained in:
commit
ced630b708
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ module Api
|
|||
new_party.local_id = party_params[:local_id] if !party_params.nil?
|
||||
|
||||
if new_party.save
|
||||
render json: PartyBlueprint.render(new_party, view: :full, root: :party,
|
||||
render json: PartyBlueprint.render(new_party, view: :created, root: :party,
|
||||
meta: { remix: true })
|
||||
else
|
||||
render_validation_error_response(new_party)
|
||||
|
|
|
|||
Loading…
Reference in a new issue