From aa8019becfc25312ac556cf7a128ae50f1b54ac9 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Sat, 14 Sep 2019 12:44:12 +0200 Subject: [PATCH] fix backwards compatibility in works api endpoint --- app/controllers/works_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/works_controller.rb b/app/controllers/works_controller.rb index f27444a20..efbe836ed 100644 --- a/app/controllers/works_controller.rb +++ b/app/controllers/works_controller.rb @@ -40,7 +40,7 @@ def index provider_id: params[:member_id], client_id: params[:data_center_id], prefix: params[:prefix], - person_id: params[:person_id], + researcher_id: params[:person_id], resource_type_id: params[:resource_type_id], schema_version: params[:schema_version], sample_group: sample_group_field,