fix(core): Fix handling of common events for relays (#10135)

This commit is contained in:
Iván Ovejero
2024-07-23 12:31:56 +02:00
committed by GitHub
parent f2ad1222b1
commit d2a3a4a080
3 changed files with 20 additions and 22 deletions

View File

@@ -219,8 +219,6 @@ export class TelemetryEventRelay {
}
private publicApiKeyCreated(event: Event['public-api-key-created']) {
if (!('publicApi' in event)) return;
const { user, publicApi } = event;
void this.telemetry.track('API key created', {
@@ -230,8 +228,6 @@ export class TelemetryEventRelay {
}
private publicApiKeyDeleted(event: Event['public-api-key-deleted']) {
if (!('publicApi' in event)) return;
const { user, publicApi } = event;
void this.telemetry.track('API key deleted', {