Skip to content

Commit

Permalink
Changed prolificId default to string type
Browse files Browse the repository at this point in the history
  • Loading branch information
am-bean committed May 17, 2024
1 parent 7d8e94c commit e09bec0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const ChatWithInstructions: FC<
const location = useLocation();
const queryParams = queryString.parse(location.search);
let treatmentId = queryParams.treatmentId ? queryParams.treatmentId : "2";
let prolificId = queryParams.assignmentId ? queryParams.assignmentId : Math.floor(100000 + Math.random() * 900000);
let prolificId = queryParams.assignmentId ? queryParams.assignmentId : Math.floor(100000 + Math.random() * 900000).toString();

function getTreatmentValue(treatmentId: TreatmentId): string {
switch (treatmentId) {
Expand Down

0 comments on commit e09bec0

Please sign in to comment.