remove search1 with_relationships
This commit is contained in:
parent
355281081a
commit
9c7cb3a954
@ -428,8 +428,8 @@ const users = {
|
|||||||
store.commit('setUserForNotification', notification)
|
store.commit('setUserForNotification', notification)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
searchUsers (store, { query, withRelationships }) {
|
searchUsers (store, { query }) {
|
||||||
return store.rootState.api.backendInteractor.searchUsers({ query, withRelationships })
|
return store.rootState.api.backendInteractor.searchUsers({ query })
|
||||||
.then((users) => {
|
.then((users) => {
|
||||||
store.commit('addNewUsers', users)
|
store.commit('addNewUsers', users)
|
||||||
return users
|
return users
|
||||||
|
@ -937,13 +937,12 @@ const reportUser = ({ credentials, userId, statusIds, comment, forward }) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const searchUsers = ({ credentials, query, withRelationships }) => {
|
const searchUsers = ({ credentials, query }) => {
|
||||||
return promisedRequest({
|
return promisedRequest({
|
||||||
url: MASTODON_USER_SEARCH_URL,
|
url: MASTODON_USER_SEARCH_URL,
|
||||||
params: {
|
params: {
|
||||||
q: query,
|
q: query,
|
||||||
resolve: true,
|
resolve: true
|
||||||
with_relationships: !!withRelationships
|
|
||||||
},
|
},
|
||||||
credentials
|
credentials
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user