MCPcopy Create free account
hub / github.com/CFBD/cfb-api / getPositions

Function getPositions

app/draft/draft.controller.js:18–28  ·  view source on GitHub ↗
(req, res)

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected