Explorar o código

Client info request: Rename browser field to userAgent

Danilo Bargen %!s(int64=7) %!d(string=hai) anos
pai
achega
71c75d4253
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/services/webclient.ts

+ 1 - 1
src/services/webclient.ts

@@ -688,7 +688,7 @@ export class WebClientService {
     public requestClientInfo(): void {
         this.$log.debug('Sending client info request');
         this._sendRequest(WebClientService.SUB_TYPE_CLIENT_INFO, {
-            browser: navigator.userAgent,
+            userAgent: navigator.userAgent,
         });
     }