Lambda-School-Labs/Labs26-StorySquad-BE-TeamB

View on GitHub
api/reset/resetRouter.js

Summary

Maintainability
A
0 mins
Test Coverage
const router = require('express').Router();
const Reset = require('./resetModel');
const { crudOperationsManager } = require('../../lib');


// Still working on it
router.put('/reset', (req, res) => {
    crudOperationsManager.update(res, Reset.resetGameForTesting, 'Reset');
})

module.exports = router;