Skip to content

Commit

Permalink
Fix parameter order in updateParticipantStatus call
Browse files Browse the repository at this point in the history
Corrected the argument order in the updateParticipantStatus method to match its expected signature. This ensures proper status updates when withdrawing participant consent.
  • Loading branch information
janoliver20 committed Dec 11, 2024
1 parent b4ab59a commit 8ec5296
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ public void clearCredentials(String apiId) {
final long studyId = rs.getLong("study_id");
final int participantId = rs.getInt("participant_id");
withdrawConsent(studyId, participantId);
updateParticipantStatus(studyId, participantId, 0,
updateParticipantStatus(studyId, 0, participantId,
"active", "abandoned");
}
);
Expand Down

0 comments on commit 8ec5296

Please sign in to comment.