Put back accidentally removed anonymity update

pull/21833/head
James Salter 2021-07-21 16:08:00 +01:00
parent 726b4497b2
commit 5697eeaab8
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ export class PosthogAnalytics {
}
public init(anonymity: Anonymity) {
this.anonymity = anonymity;
const posthogConfig = SdkConfig.get()["posthog"];
if (posthogConfig) {
this.posthog.init(posthogConfig.projectApiKey, {