Skip to content

Commit

Permalink
Added trailing comma (,) to array. (#1875)
Browse files Browse the repository at this point in the history
Fix Syntax error in REST API documentation.
  • Loading branch information
John authored and rhabbachi committed Apr 25, 2017
1 parent 9d1ae45 commit 03d51a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/apis/rest-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ Create a Dataset
'title' => 'Example dataset',
'status' => 1,
'body[und][0][value]' => 'The description',
'field_resources[und][0][target_id]' => 'Madison Polling Places (5)' // Resource title plus node id
'field_resources[und][0][target_id]' => 'Madison Polling Places (5)', // Resource title plus node id
'field_author[und][0][value]' => 'Bob Lafollette'
);
$dataset_data = http_build_query($dataset_data);
Expand Down

0 comments on commit 03d51a1

Please sign in to comment.