mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-04 06:57:12 +01:00
fetch booked from api with swr
This commit is contained in:
@@ -2,13 +2,5 @@
|
||||
|
||||
export default (req, res) => {
|
||||
res.statusCode = 200
|
||||
res.json({
|
||||
bookedOn: [
|
||||
'2020-07-10',
|
||||
'2020-07-11',
|
||||
'2020-07-12',
|
||||
'2020-07-23',
|
||||
'2020-08-01',
|
||||
],
|
||||
})
|
||||
res.json(['2020-07-23', '2020-07-24', '2020-07-25', '2020-08-01'])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user