Put back accidentally removed anonymity update

This commit is contained in:
James Salter 2021-07-21 16:08:00 +01:00
parent 726b4497b2
commit 5697eeaab8

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, {