---
title: "Aman Shahi (@TheBinaryCoder) | Hashnode"
description: "Aman Shahi (@TheBinaryCoder) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@TheBinaryCoder"
---

@TheBinaryCoder

# Aman Shahi

@TheBinaryCoder · Joined June 2025

[Website](https://www.amanshahi.dev/)

### [PATCH request gives 200 but not updating database (MongoDB)](https://nodejs-learnings.hashnode.dev/patch-request-gives-200-but-not-mongodb?utm_source=hashnode&utm_medium=feed)

I spent hours debugging a PATCH request that looked perfect but was not updating the database. this is the code app.patch(async (req, res) => { let user = await User.findById(req.params.id); i

2 min read · [nodejs-learnings.hashnode.dev](https://nodejs-learnings.hashnode.dev/patch-request-gives-200-but-not-mongodb?utm_source=hashnode&utm_medium=feed)

[Mar 24](https://hashnode.com/posts/patch-request-gives-200-but-not-mongodb/69c2d0a492029d915f5f54e1)
