Assign local ID when remixing as unauth
This commit is contained in:
parent
bdb68f17a9
commit
a123e5fe23
1 changed files with 2 additions and 0 deletions
|
|
@ -62,6 +62,8 @@ module Api
|
|||
source_party: @party
|
||||
}
|
||||
|
||||
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,
|
||||
meta: { remix: true })
|
||||
|
|
|
|||
Loading…
Reference in a new issue