From 8a1b69ae4c997d78a80bdeac2d6ae7fc29bfd3e6 Mon Sep 17 00:00:00 2001 From: Florencia Solari Date: Wed, 19 Sep 2018 14:26:32 -0300 Subject: [PATCH] plain text on description update --- examples/example_list_item.php | 2 +- examples/example_put_description.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/example_list_item.php b/examples/example_list_item.php index dfe80c1..592f786 100644 --- a/examples/example_list_item.php +++ b/examples/example_list_item.php @@ -35,7 +35,7 @@ "buying_mode" => "buy_it_now", "listing_type_id" => "bronze", "condition" => "new", - "description" => "Item de Teste. Mercado Livre's PHP SDK.", + "description" => array ("plain_text" => "Item de Teste. Mercado Livre's PHP SDK."), "video_id" => "RXWn6kftTHY", "warranty" => "12 month", "pictures" => array( diff --git a/examples/example_put_description.php b/examples/example_put_description.php index 4c34849..dd8b9a1 100644 --- a/examples/example_put_description.php +++ b/examples/example_put_description.php @@ -27,7 +27,7 @@ $params = array('access_token' => $_SESSION['access_token']); - $body = array('text' => 'Adding new description html'); + $body = array('plain_text' => 'Adding new description html'); $response = $meli->put('/items/MLB12343412/descriptions', $body, $params);