OutlierVentures / BuyCoPoc

BuyCo.io Proof of Concept on an Ethereum blockchain
Apache License 2.0
0 stars 1 forks source link

Seller signup: Storing/retrieving postalCode and addressLine2 not working #23

Closed bartvanderwal closed 8 years ago

bartvanderwal commented 8 years ago

See subject. Just noticed this.

On analysis you say the problem for postalCode is in storing, and the addressLine2 is iin retrieving, It's both to do with typo's in capitalization..

bartvanderwal commented 8 years ago

Is fixed.

bartvanderwal commented 8 years ago

I moved the sellerController

It seemed that it's needed to drop a document OR the complete seller collection for the fix for addressLine2 to work. Reason is that addressline2 was "renamed" to addressLine2 in schema, but Mongoose depends on developer to do manual migration (which is probably better than it suffering from 'clippy' syndrome)).