Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Commit

Permalink
Merge pull request #63 from fsolari/master
Browse files Browse the repository at this point in the history
plain text on description update
  • Loading branch information
ZeusMode authored Dec 13, 2018
2 parents 212a505 + 10de44e commit 738cdf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/example_list_item.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"buying_mode" => "buy_it_now",
"listing_type_id" => "bronze",
"condition" => "new",
"description" => "Item de Teste. Mercado Livre's PHP SDK.",
"video_id" => "Q6dsRpVyyWs",
"description" => array ("plain_text" => "Item de Teste. Mercado Livre's PHP SDK."),
"video_id" => "RXWn6kftTHY",
"warranty" => "12 month",
"pictures" => array(
array(
Expand Down
2 changes: 1 addition & 1 deletion examples/example_put_description.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

$params = array('access_token' => $_SESSION['access_token']);

$body = array('text' => 'Adding new description <strong>html</strong>');
$body = array('plain_text' => 'Adding new description <strong>html</strong>');

$response = $meli->put('/items/MLB12343412/descriptions', $body, $params);

Expand Down

0 comments on commit 738cdf5

Please sign in to comment.