Remove superfluous unused argument

This commit is contained in:
James Salter 2021-07-28 14:44:28 +01:00
parent 279871ce01
commit ce80e5a463

View file

@ -178,7 +178,7 @@ export class PosthogAnalytics {
}
}
private sanitizeProperties(properties: posthog.Properties, _: string): posthog.Properties {
private sanitizeProperties(properties: posthog.Properties): posthog.Properties {
// Callback from posthog to sanitize properties before sending them to the server.
//
// Here we sanitize posthog's built in properties which leak PII e.g. url reporting.