I am working on fixing Delete API problem that the app is not deleted after deleting one app. After adding app to the promise return and console.log 'id', it seems that I found one problem. The app dose not get the 'app id' from ' id: $('#delete-button').data('id')' or ' id = $('#delete-button').data('id'), so it can not pass the id to applist.remove API. I wonder whether it needs to be app.id or id for removing the app? :D
I am working on fixing Delete API problem that the app is not deleted after deleting one app. After adding app to the promise return and console.log 'id', it seems that I found one problem. The app dose not get the 'app id' from ' id: $('#delete-button').data('id')' or ' id = $('#delete-button').data('id'), so it can not pass the id to applist.remove API. I wonder whether it needs to be app.id or id for removing the app? :D