diff --git a/app/controllers/api/v1/data_sets_controller.rb b/app/controllers/api/v1/data_sets_controller.rb index 10c5a86a5..456235b65 100644 --- a/app/controllers/api/v1/data_sets_controller.rb +++ b/app/controllers/api/v1/data_sets_controller.rb @@ -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|