You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 }) => {
The text was updated successfully, but these errors were encountered:
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 }) => {
The text was updated successfully, but these errors were encountered: