chore: update user agent send to heartbeat api

This commit is contained in:
Sebastian Velez
2023-01-25 12:23:39 -05:00
parent de4baec10e
commit c9c7aeb072

View File

@@ -228,7 +228,7 @@ class WakaTimeCore {
entity: heartbeat.url,
time: moment().format('X'),
type: type,
user_agent: 'browser-wakatime/' + config.version,
user_agent: `${navigator.userAgent} browser-wakatime/${config.version}`,
};
if (heartbeat.project) {