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

Commit 738cdf5

Browse files
authored
Merge pull request #63 from fsolari/master
plain text on description update
2 parents 212a505 + 10de44e commit 738cdf5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/example_list_item.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
"buying_mode" => "buy_it_now",
3636
"listing_type_id" => "bronze",
3737
"condition" => "new",
38-
"description" => "Item de Teste. Mercado Livre's PHP SDK.",
39-
"video_id" => "Q6dsRpVyyWs",
38+
"description" => array ("plain_text" => "Item de Teste. Mercado Livre's PHP SDK."),
39+
"video_id" => "RXWn6kftTHY",
4040
"warranty" => "12 month",
4141
"pictures" => array(
4242
array(

examples/example_put_description.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

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

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

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

0 commit comments

Comments
 (0)