Skip to content

Commit 138c4ae

Browse files
authored
Merge pull request #109 from TD-4242/patch-1
incrementTrait throws an error
2 parents a1420fc + dca9a82 commit 138c4ae

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

flagsmith-core.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,8 +506,7 @@ const Flagsmith = class {
506506
increment_by,
507507
identifier: identity
508508
}))
509-
// @ts-ignore
510-
.then(this.getFlags)
509+
.then(() => this.getFlags())
511510
};
512511

513512
hasFeature = (key) => {

0 commit comments

Comments
 (0)