Skip to content

Commit

Permalink
Merge pull request #668 from alisdt/master
Browse files Browse the repository at this point in the history
note that input to submitToTurk must be non-empty
  • Loading branch information
becky-gilbert committed Oct 21, 2020
2 parents 294aac6 + 6191173 commit b82ee3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/core_library/jspsych-turk.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jsPsych.turk.submitToTurk(data)

Parameter | Type | Description
----------|------|------------
data | object | The `data` parameter is an object of `key: value` pairs. Any pairs in the `data` parameter will be saved by Mechanical Turk, and can be downloaded in a CSV file through the Mechanical Turk interface.
data | object | The `data` parameter is an object of `key: value` pairs. Any pairs in the `data` parameter will be saved by Mechanical Turk, and can be downloaded in a CSV file through the Mechanical Turk interface. **Important**: the `data` parameter must contain at least one `key: value` pair, even just a dummy value, or the HIT will not be submitted correctly.

### Return value

Expand Down

0 comments on commit b82ee3f

Please sign in to comment.