Skip to content

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

Description

@formoon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions