mutoe / vue3-realworld-example-app

Explore the charm of Vue composition API! Vite?
https://vue3-realworld-example-app-mutoe.vercel.app
MIT License
960 stars 343 forks source link

fix: putProfile payload missing user key #90

Closed sajadhsm closed 2 years ago

sajadhsm commented 2 years ago

Currently updating the profile throws a 500 error:

image

According to the API Swagger, PUT /user payload expects a top-level user key which was missing in putProfile request handler.

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/mutoe/vue3-realworld-example-app/6UjAwUUWS3eR2s2bopUqCJ6QfkFA
✅ Preview: https://vue3-realworld-example-app-git-fork-sajadhsm-fix-u-03e63c-mutoe.vercel.app

mutoe commented 2 years ago

Thanks for contributing :)