Merge pull request #71 from jedmund/unauth-remix
Assign local ID when remixing as unauthorized account
This commit is contained in:
commit
5f92d64373
1 changed files with 2 additions and 0 deletions
|
|
@ -62,6 +62,8 @@ module Api
|
||||||
source_party: @party
|
source_party: @party
|
||||||
}
|
}
|
||||||
|
|
||||||
|
new_party.local_id = party_params[:local_id] if !party_params.nil?
|
||||||
|
|
||||||
if new_party.save
|
if new_party.save
|
||||||
render json: PartyBlueprint.render(new_party, view: :full, root: :party,
|
render json: PartyBlueprint.render(new_party, view: :full, root: :party,
|
||||||
meta: { remix: true })
|
meta: { remix: true })
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue