Skip to content

Commit

Permalink
🐛 Fix typo in export report validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Wildenhain authored and pwildenhain committed Jul 16, 2020
1 parent 558ebb0 commit c369236
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions redcap/experiement.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from redcap.project import Project
import os

proj = Project("https://redcap.chop.edu/api/", os.getenv("NFP_TOKEN"))

proj.export_reports(report_id=58173)
2 changes: 1 addition & 1 deletion redcap/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def validate(self):
'Exporting users but content is not user'),
'exp_survey_participant_list': (['instrument'], 'participantList',
'Exporting Survey Participant List but content != participantList'),
'exp_reports': (['report_id','format'], 'report',
'exp_report': (['report_id', 'format'], 'report',
'Exporting Reports but content is not reports'),
'version': (['format'], 'version',
'Requesting version but content != version')
Expand Down

0 comments on commit c369236

Please sign in to comment.