Skip to content

Commit

Permalink
simplify object notation
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Oct 8, 2021
1 parent 91e1e18 commit c3ea7fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/baseTelemetryReporter.ts
Expand Up @@ -284,7 +284,7 @@ export class BaseTelemetryReporter {
public sendRawTelemetryEvent(eventName: string, properties?: TelemetryRawEventProperties, measurements?: TelemetryEventMeasurements): void {
if (this.userOptIn && eventName !== "") {
properties = { ...properties, ...this.getCommonProperties() };
this.telemetryAppender.logEvent(`${this.extensionId}/${eventName}`, { properties: properties, measurements: measurements });
this.telemetryAppender.logEvent(`${this.extensionId}/${eventName}`, { properties, measurements });
}
}

Expand Down

0 comments on commit c3ea7fc

Please sign in to comment.