We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue Summary:
In the auth.module.js here you have got some code like:
[UPDATE_USER](context, payload) { const { email, username, password, image, bio } = payload; const user = { email, username, bio, image }; if (password) { user.password = password; } return ApiService.put("user", user).then(({ data }) => { context.commit(SET_AUTH, data.user); return data; }); }
Those promise calls could be simplified with async and await calls.
Resources:
Acceptance Criteria:
.then(...
.catch(...
The main issue can be found here #5
The text was updated successfully, but these errors were encountered:
I'll have a go at this one as well
Sorry, something went wrong.
@igeligel Stopped working on this for the time being because of #88.
No branches or pull requests
Issue Summary:
In the auth.module.js here you have got some code like:
Those promise calls could be simplified with async and await calls.
Resources:
Acceptance Criteria:
.then(...
or.catch(...
block or any promise like structureThe main issue can be found here #5
The text was updated successfully, but these errors were encountered: