aaronksaunders / AppC-Alloy-Book

Complete and updated source code for the book Building Cross-Platform Apps using Titanium, Alloy, and Appcelerator Cloud Services
http://www.clearlyinnovative.com/build-it/
Other
26 stars 12 forks source link

processACSComments - "delete" does not call Cloud.Reviews.remove #8

Closed newportsolutionsgroup closed 8 years ago

newportsolutionsgroup commented 8 years ago

UPDATE: The BOOK is correct!

The book has the correct "delete" code necessary to remove comments. This GIT repo AppC-Alloy-Book does not contain the code from the book. Of course this is the where I cheated and decided to copy the code from GIT for ACS.js instead of hand coding from the book

I am working through the entire book to get my head around Alloy after several years or classic Ti experience.

I'm at the end of chapter 6 and finding that that my Comments are not deleted.

In the ACS.js processACSComments, "delete" method does not call Cloud.Reviews.remove so comments are never deleted.

Am I missing something!?

aaronksaunders commented 8 years ago

I fixed the error thank @newportsolutionsgroup for spotting the issue