Assign local ID when remixing as unauth

This commit is contained in:
Justin Edmund 2023-02-03 19:32:22 -08:00
parent bdb68f17a9
commit a123e5fe23

View file

@ -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 })