Exercise management enhanced
This commit is contained in:
@@ -72,6 +72,7 @@ router.post('/', async (req: any, res) => {
|
||||
// Create new
|
||||
const newExercise = await prisma.exercise.create({
|
||||
data: {
|
||||
id: id || undefined, // Use provided ID if available
|
||||
userId,
|
||||
name,
|
||||
type,
|
||||
|
||||
Reference in New Issue
Block a user