fix user note
This commit is contained in:
parent
39d77c6ff9
commit
692ff9b39e
1 changed files with 2 additions and 1 deletions
|
|
@ -47,6 +47,7 @@ import {
|
||||||
muteUser as apiMuteUser,
|
muteUser as apiMuteUser,
|
||||||
unblockUser as apiUnblockUser,
|
unblockUser as apiUnblockUser,
|
||||||
unmuteUser as apiUnmuteUser,
|
unmuteUser as apiUnmuteUser,
|
||||||
|
editUserNote as apiEditUserNote,
|
||||||
fetchBlocks,
|
fetchBlocks,
|
||||||
fetchDomainMutes,
|
fetchDomainMutes,
|
||||||
fetchMutes,
|
fetchMutes,
|
||||||
|
|
@ -123,7 +124,7 @@ const removeUserFromFollowers = (store, id) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const editUserNote = (store, { id, comment }) => {
|
const editUserNote = (store, { id, comment }) => {
|
||||||
return editUserNote({ id, comment }).then((relationship) =>
|
return apiEditUserNote({ id, comment }).then((relationship) =>
|
||||||
store.commit('updateUserRelationship', [relationship]),
|
store.commit('updateUserRelationship', [relationship]),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue