(req, res)
| 16 | }; |
| 17 | |
| 18 | const getPositions = async (req, res) => { |
| 19 | try { |
| 20 | let positions = await service.getPositions(); |
| 21 | res.send(positions); |
| 22 | } catch (err) { |
| 23 | Sentry.captureException(err); |
| 24 | res.status(500).send({ |
| 25 | error: 'Something went wrong.' |
| 26 | }); |
| 27 | } |
| 28 | }; |
| 29 | |
| 30 | const getPicks = async (req, res) => { |
| 31 | try { |
nothing calls this directly
no outgoing calls
no test coverage detected