Skip to content

Commit 7a6712c

Browse files
committed
fix data
1 parent e40696b commit 7a6712c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/index2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ app.delete('/api/tasks/:id', (req,res)=>{
2727
})
2828

2929
app.get('/api/names', (req, res) => {
30-
res.send(tasks)
30+
res.send(names)
3131
})
3232

3333
app.post('/api/names', (req,res)=>{

0 commit comments

Comments
 (0)