Browse Source

fix JSON syntax for reviews

pull/82/head
Aaron Parecki 7 years ago
parent
commit
bd535204e4
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      views/review.php

+ 2
- 2
views/review.php View File

@ -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){

Loading…
Cancel
Save