bug report for vue-realword working with rust-diesel backend
formoon opened this issue · comments
andrew commented
As title, whe vue-realword frontend working with rust-diesel backend,
Edit user profile not function, I check the code, found that: src/store/auth.module.js
in [UPDATE_USER](context, payload) {
...
return ApiService.put("user", user).then(({ data }) => {
need change to :
return ApiService.put("user", { user: user }).then(({ data }) => {