missing semicolon + console.log

This commit is contained in:
Sebastian Gierlinger 2014-04-16 18:49:07 +02:00
parent da3630071a
commit 664b002f43
2 changed files with 1 additions and 3 deletions

View File

@ -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();

View File

@ -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);
}