gothinkster / vue-realworld-example-app

An exemplary real-world application built with Vue.js, Vuex, axios and different other technologies. This is a good example to discover Vue for beginners.

Home Page:https://vue-vuex-realworld.netlify.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug report for vue-realword working with rust-diesel backend

formoon opened this issue · comments

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 }) => {