Skip to content

Commit

Permalink
Return entire dataset on update
Browse files Browse the repository at this point in the history
  • Loading branch information
jasondkiesling authored May 10, 2020
1 parent 5d97e23 commit a82a283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/v1/data_sets_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def append
dataset.update_attributes(data: dataset.data.concat(newdata))

respond_to do |format|
format.json { render json: newdata, status: :ok }
format.json { render json: dataset, status: :ok }
end
else
respond_to do |format|
Expand Down

0 comments on commit a82a283

Please sign in to comment.