brianfoshee / aquaponics-data

0 stars 0 forks source link

User functionality #45

Closed brianfoshee closed 1 year ago

brianfoshee commented 9 years ago

Hey Nate - I got the sign in test passing. The issue was with encoding the JSON on one end and then decoding it on the other end. Since our fake user struct in the http handler had un-exported (lowercase) attributes (email and password) it wasn't decoding the Email and Password that were being sent in the POST request. I thought I remember reading somewhere that case didn't matter in json decoding but I guess that's not right.