SavandBros / tiwun-awesome

Tiwun Awesome Application - Tiwun wear a frontend!
1 stars 0 forks source link

Does Items Form's data passes to API completely ? #10

Closed Alir3z4 closed 8 years ago

Alir3z4 commented 8 years ago

I'm not sure if we pass all the data from item create form to API completely. It's Controller and Service don't look they're doing it right.

Have a look at the controller and how the data is being set on payload: https://github.com/SavandBros/tiwun-awesome/blob/master/app/scripts/item/controllers/new_item_controller.js#L31-L43

And how ItemService is passing the data to API: https://github.com/SavandBros/tiwun-awesome/blob/master/app/scripts/item/services/item_service.js#L77-L83

Right ?

Alir3z4 commented 8 years ago

@amirm3hdi Closed ? whaaay? where's the fix ?