ai / api /server /routes /user.js
Marco Beretta
LibreChat upload repo
3b6afc0
raw
history blame
387 Bytes
const express = require('express');
const requireJwtAuth = require('../../middleware/requireJwtAuth');
const { getUserController, updateUserPluginsController } = require('../controllers/UserController');
const router = express.Router();
router.get('/', requireJwtAuth, getUserController);
router.post('/plugins', requireJwtAuth, updateUserPluginsController);
module.exports = router;