diff options
Diffstat (limited to 'lib/api/helpers/members_helpers.rb')
-rw-r--r-- | lib/api/helpers/members_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers/members_helpers.rb b/lib/api/helpers/members_helpers.rb index f26ac1318b1..c91e153c7b9 100644 --- a/lib/api/helpers/members_helpers.rb +++ b/lib/api/helpers/members_helpers.rb @@ -63,7 +63,7 @@ module API def add_single_member_by_user_id(create_service_params) source = create_service_params[:source] - user_id = create_service_params[:user_ids] + user_id = create_service_params[:user_id] user = User.find_by(id: user_id) # rubocop: disable CodeReuse/ActiveRecord if user |