From 87a01bcd6648bcc5e8b9c669f1faa3f62f13be5e Mon Sep 17 00:00:00 2001 From: Nuwan Chathuranga Date: Fri, 4 Jun 2021 00:21:30 +0530 Subject: [PATCH] remove "unknown" parameters in get_latencies api call to latency server --- web/app/controllers/api_users_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/controllers/api_users_controller.rb b/web/app/controllers/api_users_controller.rb index b3849a0c5..9ad0f52f2 100644 --- a/web/app/controllers/api_users_controller.rb +++ b/web/app/controllers/api_users_controller.rb @@ -949,8 +949,8 @@ class ApiUsersController < ApiController req.body = { my_user_id: current_user.id, my_public_ip: request.remote_ip, - my_device_id: 'unknown', - my_client_id: 'unknown', + my_device_id: nil, + my_client_id: nil, users: user_ids }.to_json