shelcia / mocker

Mocker can generate mock data with API endpoints, powered by faker.js
https://mocker-gen.netlify.app/
GNU General Public License v3.0
17 stars 29 forks source link

Streamlining unnecessary promise, async, and await syntax. #131

Closed SomSingh23 closed 8 months ago

SomSingh23 commented 8 months ago

Eliminating unnecessary promises and utilizing the jwt.verify function with a callback. If an error occurs, return 'something wrong'; otherwise, proceed to the next middleware with the payload attached to req.body.

netlify[bot] commented 8 months ago

Deploy Preview for mocker-gen canceled.

Name Link
Latest commit 257efedb7eced58d48f98445e48422685c974b04
Latest deploy log https://app.netlify.com/sites/mocker-gen/deploys/658a830ea0a8b70008e46331
vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mocker ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 26, 2023 11:58pm
mocker-backend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 26, 2023 11:58pm
mocker-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 26, 2023 11:58pm
vercel[bot] commented 8 months ago

Someone is attempting to deploy a commit to a Personal Account owned by @shelcia on Vercel.

@shelcia first needs to authorize it.