Add favorite-button.
This commit is contained in:
parent
b96b5eb327
commit
8630f91a13
7 changed files with 85 additions and 11 deletions
|
@ -25,7 +25,10 @@ const users = {
|
|||
.then((response) => {
|
||||
if (response.ok) {
|
||||
response.json()
|
||||
.then((user) => commit('setCurrentUser', user))
|
||||
.then((user) => {
|
||||
user.credentials = userCredentials
|
||||
commit('setCurrentUser', user)
|
||||
})
|
||||
.then(() => timelineFetcher.startFetching({store, credentials: userCredentials}))
|
||||
}
|
||||
commit('endLogin')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue