This commit is contained in:
rca 2024-06-17 01:23:20 +09:00
parent 3310525f7e
commit 3ba5d14c1d

View File

@ -0,0 +1,15 @@
import { Router } from 'express';
import { Task } from '@prisma/client';
import { getTasksByUserId, getTasksByChildId } from '@src/services/taskService';
const router = Router();
router.get('/', (req, res) => {
const body = req.body;
if (body) {
res.status(400).json({
message: '不正なリクエスト: リクエストボディが空です'
});
return;
}
});