mirror of
https://github.com/20kaushik02/spotify-manager.git
synced 2025-12-06 09:24:07 +00:00
13 lines
255 B
JavaScript
13 lines
255 B
JavaScript
const router = require('express').Router();
|
|
|
|
const { updateUser } = require('../controllers/operations');
|
|
const { isAuthenticated } = require('../middleware/authCheck');
|
|
|
|
router.post(
|
|
"/update",
|
|
isAuthenticated,
|
|
updateUser
|
|
);
|
|
|
|
module.exports = router;
|