summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/review.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/review.php b/views/review.php
index dacc797..d364666 100644
--- a/views/review.php
+++ b/views/review.php
@@ -211,7 +211,7 @@ $(function(){
var review = {
item: [{
- type: "h-product",
+ type: ["h-product"],
properties: {
name: [$("#item_name").val()],
url: [$("#item_url").val()]
@@ -232,7 +232,7 @@ $(function(){
$.post("/micropub/postjson", {
data: JSON.stringify({
- "type": "h-review",
+ "type": ["h-review"],
"properties": review
})
}, function(response){