first commit
This commit is contained in:
1309
resources/js/plugins/fake-api/handlers/pages/datatable/db.js
Normal file
1309
resources/js/plugins/fake-api/handlers/pages/datatable/db.js
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
import { rest } from 'msw'
|
||||
import { db } from '@db/pages/datatable/db'
|
||||
|
||||
export const handlerPagesDatatable = [
|
||||
rest.get(('/api/pages/datatable'), (req, res, ctx) => {
|
||||
return res(ctx.status(200), ctx.json(db.salesDetails))
|
||||
}),
|
||||
]
|
@@ -0,0 +1 @@
|
||||
export {}
|
Reference in New Issue
Block a user