- (comment by fidelVe) Currently the
tasks
model have a value calledchain
. On initial design this value was meant to be used to define on the database the type of chain but currently when integrating new chains to track loans and collateral I realized that is not possible with the current design to define the chain at the moment of creating the task in the database. Due to this the value forchain
currently should always beicon
until the code is refactored to allow for the chain to be defined at the moment of creating the task in the database, another option is to remove thechain
value from the database. - (comment by fidelve) User document in the database has a 'linkedWallets' value and a 'Season' value. Due to this if we have for example a season "1" on which the user has linked some wallets and then we create a new season "2" the user will automatically have the wallets linked on season "1" linked on season "2". This is not the desired behavior, the desired behavior is that the user has to link the wallets again on the new season.
- (comment by fidelve) fix issue of given proper authorization to all exposed api endpoints. Currently
/user/:user
requires authorization but/user/:user/season/:season
does not require authorization.