diff options
Diffstat (limited to 'app/services/service_ping/submit_service.rb')
-rw-r--r-- | app/services/service_ping/submit_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/service_ping/submit_service.rb b/app/services/service_ping/submit_service.rb index 7fd0fb10b4b..da2a51562f8 100644 --- a/app/services/service_ping/submit_service.rb +++ b/app/services/service_ping/submit_service.rb @@ -63,7 +63,7 @@ module ServicePing def submit_payload(payload, path: USAGE_DATA_PATH) Gitlab::HTTP.post( URI.join(base_url, path), - body: payload.to_json, + body: Gitlab::Json.dump(payload), allow_local_requests: true, headers: { 'Content-type' => 'application/json' } ) |