coinratecap / Backend

This is the backend of coinratecap
MIT License
6 stars 6 forks source link

Dev #20

Closed melodyogonna closed 3 years ago

melodyogonna commented 3 years ago

Functionality to add coin to exchange

Emibrown commented 3 years ago

The Coin field on the Exchange schema is suppose to hold an array of coin ID

req.body.coinIDs should be expecting an array instead of string

melodyogonna commented 3 years ago

Yeah, that's why I made the type an array of string, the coin ids are strings right? Oh perhaps you expected me to do something like - type: [Coin]? Okay I'll do that

melodyogonna commented 3 years ago

@Emibrown please review the latest commit