We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c175ce commit 6a2a8baCopy full SHA for 6a2a8ba
src/client/eppo-client.ts
@@ -81,7 +81,7 @@ export default class EppoClient implements IEppoClient {
81
assignmentHooks: IAssignmentHooks,
82
): Promise<string> {
83
let assignment = await assignmentHooks?.onPreAssignment(subjectKey);
84
- if (!assignment) {
+ if (assignment == null) {
85
assignment = this.getAssignment(subjectKey, experimentKey, subjectAttributes);
86
}
87
0 commit comments