Skip to content

Commit

Permalink
fix: use consistent prefix for js-web runtime version header (#1382)
Browse files Browse the repository at this point in the history
  • Loading branch information
cprice404 authored Jul 8, 2024
1 parent 1ed91d0 commit fee3ec0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ export class ClientMetadataProvider {
metadata[
'agent'
] = `${ClientMetadataProvider.agentName}:${this.clientType}:${version}`;
metadata['runtime-version'] = `javascript-web:${getBrowserName(
navigator.userAgent
)}`;
metadata['runtime-version'] = `${
ClientMetadataProvider.agentName
}:${getBrowserName(navigator.userAgent)}`;
}
if (this.readConcern) {
metadata['read-concern'] = this.readConcern;
Expand Down

0 comments on commit fee3ec0

Please sign in to comment.