<commit_before>const express = require('express')
counst router = express.Router()
const users = require('/Controllers/userCtrl')

router.get('/', users.home)

router.get('/userId', users.userId)

router.put('/userId', users.userId)

router.post('/userId/saved', users.saved)

router.delete('/userId/saved', users.saved)

router.post('/userId/created', users.created)

router.delete('/userId/created', users.created)

module.exports = router<commit_msg>Makes additional corrections to userRouter<commit_after>const express = require('express')
counst router = express.Router()
const users = require('/Controllers/userCtrl')

router.post('/', users.createUser) //add user

router.get('/userId', users.getUser) //get user

router.put('/userId', users.updateUser) //update user information

router.post('/userId/saved', users.createPin) //add new pin

router.delete('/userId/saved', users.deletePin) //delete pin

router.post('/userId/created', users.createSpot) //add new spot

router.delete('/userId/created', users.deleteSpot) //delete spot

module.exports = router
{'fraction_non_alphanumeric': 0.1652582159624413, 'fraction_numerical': 0.0, 'mean_word_length': 5.421686746987952, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4523888', 'n_tokens_mistral': 310, 'n_tokens_neox': 320, 'n_words': 70}