Skip to content

Commit

Permalink
fix example code key order
Browse files Browse the repository at this point in the history
  • Loading branch information
aarsilv committed May 22, 2024
1 parent 1a4a048 commit 3169783
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ protected void onResume() {

// for testing assignments on application/main activity start
if (!TextUtils.isEmpty(INITIAL_FLAG_KEY)) {
EppoClient.getInstance().getStringAssignment(INITIAL_SUBJECT_ID, INITIAL_FLAG_KEY, "");
EppoClient.getInstance().getStringAssignment(INITIAL_FLAG_KEY, INITIAL_SUBJECT_ID, "");
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private void handleAssignment() {
return;
}

String assignedVariation = EppoClient.getInstance().getStringAssignment(subjectId, experimentKey, "");
String assignedVariation = EppoClient.getInstance().getStringAssignment(experimentKey, subjectId, "");
appendToAssignmentLogView("Assigned variation: " + assignedVariation);
}

Expand Down

0 comments on commit 3169783

Please sign in to comment.