Fix expected webhook external response format (#1934)

This commit is contained in:
Tyler Brock
2016-05-27 19:04:49 -07:00
parent 50b9ae4803
commit 1487a73f16
2 changed files with 4 additions and 2 deletions

View File

@@ -381,7 +381,7 @@ describe('Hooks', () => {
object.hello = "world";
// Would need parse cloud express to set much more
// But this should override the key upon return
res.json({success: {object: object}});
res.json({success: object});
});
// The function is delete as the DB is dropped between calls
Parse.Hooks.createTrigger("SomeRandomObject", "beforeSave" ,hookServerURL+"/BeforeSaveSome").then(function(){