mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
missing semicolon + console.log
This commit is contained in:
parent
da3630071a
commit
664b002f43
2 changed files with 1 additions and 3 deletions
|
@ -66,7 +66,7 @@ posts = {
|
|||
|
||||
return canThis(self.user).edit.post(postData.id).then(function () {
|
||||
return checkPostData(postData).then(function (checkedPostData) {
|
||||
return dataProvider.Post.edit(checkedPostData.posts[0], {user: self.user})
|
||||
return dataProvider.Post.edit(checkedPostData.posts[0], {user: self.user});
|
||||
}).then(function (result) {
|
||||
if (result) {
|
||||
var omitted = result.toJSON();
|
||||
|
|
|
@ -591,8 +591,6 @@ describe('Post API', function () {
|
|||
.send(newPost)
|
||||
.expect(200)
|
||||
.end(function (err ,res) {
|
||||
console.log("end");
|
||||
console.log(err);
|
||||
if (err) {
|
||||
return done(err);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue