Don't fall back on the PostHog decide endpoint.
This commit is contained in:
parent
ad1a285f30
commit
ddb448f06e
|
@ -143,6 +143,7 @@ export class FlagSet<T extends { [name: string]: boolean }> {
|
|||
const personProperties: Record<string, string> = { tenantId }
|
||||
const posthogFlags = await posthog.getAllFlags(userId, {
|
||||
personProperties,
|
||||
onlyEvaluateLocally: true,
|
||||
})
|
||||
|
||||
for (const [name, value] of Object.entries(posthogFlags)) {
|
||||
|
|
Loading…
Reference in New Issue