Commit Graph
2 Commits
Author SHA1 Message Date
MG-ngandOvertorment e149f695cc or instead of of
according to the code
https://github.com/BlueWallet/LndHub/blob/66a54570c5a9a47f68a69f94c200ee6415204f45/controllers/api.js#L158
2021-09-25 20:01:24 +01:00
MG-ngandOvertorment e9c6f3abde accounttype and partnerid check on create account
Refined the partnerid and accounttype check in the /create route according to the /doc/Send-requirements.md
Both are not mandatory but if given, they should be strings.

The typeof check is for direct string initialisation with "".
instanceof is used for string initialisation with new String() / the primitiv wrapper class.
2021-09-22 13:49:03 +01:00