laurent2ct / app-development

0 stars 0 forks source link

Incorrect Status Code for Successful Data Update #3

Open laurent2ct opened 2 months ago

laurent2ct commented 2 months ago

The /updateUser API is expected to return a 200 OK status code when a user’s data is successfully updated. However, the API is returning a 204 No Content status code instead, leading to potential confusion in client-side handling.

Expected Behavior: API returns 200 OK on successful data update.

Actual Behavior: API returns 204 No Content on successful data update.

Priority: High