I use it like this `router.post("/add", async (res, req) => { return CustomResponse(myJSONPayload, 2

I use it like this router.post("/add", async (res, req) => { return CustomResponse(myJSONPayload, 200) })
Was this page helpful?