fetch parent post boost users information

This commit is contained in:
Brenden Bice 2019-04-02 04:25:30 -04:00
parent 44d07ceb25
commit d19bee0b66
1 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ const conversation = {
}
},
fetchFavouritedByUsers (id) {
this.$store.state.api.backendInteractor.fetchFavouritedByUsers({id: this.status.id}).then((response) => {
this.$store.state.api.backendInteractor.fetchFavouritedByUsers({id}).then((response) => {
const favoritedByUsers = response.map(item => ({
src: item.avatar_static,
name: item.display_name
@ -162,7 +162,7 @@ const conversation = {
})
},
fetchRebloggedByUsers (id) {
this.$store.state.api.backendInteractor.fetchRebloggedByUsers({id: this.status.id}).then((response) => {
this.$store.state.api.backendInteractor.fetchRebloggedByUsers({id}).then((response) => {
const rebloggedByUsers = response.map(item => ({
src: item.avatar_static,
name: item.display_name