mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-01 23:37:43 +03:00
missing semicolon + console.log
This commit is contained in:
parent
da3630071a
commit
664b002f43
@ -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…
Reference in New Issue
Block a user