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

Function getPlayTypes

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

Source from the content-addressed store, hash-verified

4 const service = serviceConstructor(db);
5
6 const getPlayTypes = async (req, res) => {
7 try {
8 let types = await service.getPlayTypes();
9 res.send(types);
10 } catch (err) {
11 Sentry.captureException(err);
12 res.status(500).send({
13 error: 'Something went wrong.'
14 });
15 }
16 };
17
18 const getPlayStatTypes = async (req, res) => {
19 try {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected