Closed
Description
when I call the .remove() function, I keep getting these errors:
POST https://api.github.com/repos/Pomax/gh-blog/git/trees?1393981519258 422 (Unprocessable Entity) api.github.com/repos/Pomax/gh-blog/git/trees?1393981519258:1
POST https://api.github.com/repos/Pomax/gh-blog/git/commits?1393981519451 422 (Unprocessable Entity) api.github.com/repos/Pomax/gh-blog/git/commits?1393981519451:1
Uncaught TypeError: Cannot read property 'sha' of undefined
The network responses for the failed URLs are
{
"message": "Must supply tree.sha or tree.content",
"documentation_url": "http://developer.github.com/v3/git/trees/#create-a-tree"
}
and
{
"message": "Validation Failed",
"documentation_url": "http://developer.github.com/v3/git/commits/#create-a-commit",
"errors": [
{
"value": null,
"resource": "Commit",
"field": "tree",
"code": "missing"
}
]
}
respectively.