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

Function getPlayStatTypes

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

Source from the content-addressed store, hash-verified

16 };
17
18 const getPlayStatTypes = async (req, res) => {
19 try {
20 let types = await service.getPlayStatTypes();
21 res.send(types);
22 } catch (err) {
23 Sentry.captureException(err);
24 res.status(500).send({
25 error: 'Something went wrong.'
26 });
27 }
28 };
29
30 const getPlays = async (req, res) => {
31 try {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected