mirror of
https://github.com/ragestudio/linebridge.git
synced 2025-06-09 02:24:17 +00:00
use export default
This commit is contained in:
parent
4d7fbfbaee
commit
5a50349bd7
@ -1,3 +1 @@
|
||||
module.exports = {
|
||||
schematized: require("./schematized"),
|
||||
}
|
||||
export { default as Schematized } from "./schematized"
|
@ -1,4 +1,4 @@
|
||||
module.exports = (schema = {}, fn) => {
|
||||
export default (schema = {}, fn) => {
|
||||
return async (req, res, next) => {
|
||||
if (typeof req.body === "undefined") {
|
||||
req.body = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user