Delete service not working

This may have to do with recent appery changes, but I have an app where I link a button click to a service which deletes from a database collection. Upon success, I invoke a second service to delete some related items from another collection. It does not work correctly, and it may have to do whith the where clause:

The java script in the where clause is:
return '{"$and": [{"Userid": "' + localStorage.getItem("Userid") + '"},{"ChildName": "' + localStorage.getItem("childname") + '"}]}' ;

Hopefully you can see that I need to delete items from the collection matching both criteria. As of now, no error messages, nothing, and the items are not deleted. I placed an alert on complete, and it alerts, so I know I am calling the service.

Thanks for any help!
1 person has
this question
This topic is no longer open for comments or replies.