(req, parameter)
| 37 | } |
| 38 | |
| 39 | static parseParameter (req, parameter) { |
| 40 | const query = req.query || {} |
| 41 | const body = req.body || {} |
| 42 | const params = req.params || {} |
| 43 | return query[parameter] || body[parameter] || params[parameter] || null |
| 44 | } |
| 45 | |
| 46 | static requestOptions (req, res) { |
| 47 | let userStore, accountManager, localAuth |
no outgoing calls
no test coverage detected