Skip to content

Commit 5b3c56c

Browse files
authored
Merge branch 'main' into fix/evaluation-context-typing
2 parents c7c374e + a755ff4 commit 5b3c56c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flagsmith-core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ const Flagsmith = class {
273273
withTraits?: ITraits|null= null
274274
cacheOptions = {ttl:0, skipAPI: false, loadStale: false}
275275
async init(config: IInitConfig) {
276-
const evaluationContext = toEvaluationContext(config.evaluationContext || {});
276+
const evaluationContext = toEvaluationContext(config.evaluationContext || this.evaluationContext);
277277
try {
278278
const {
279279
environmentID,

0 commit comments

Comments
 (0)