feat: add /users/me endpoint

This commit is contained in:
wancat authored and Lin, Hung-Shin committed 2023-11-14 10:44:52 +08:00
1 parent ae221a696c
commit a7422853fa
8 files changed
+112 -19

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import { Router } from 'express'
import * as commandController from '../controllers/commandController.js'
const router = Router()
router.post('/', commandController.newCommand)
router.post('/completed', commandController.completedCommand)
export default router