Replace GetUsernamesAndRelationships with GetUserRelationshipsMatching
This commit is contained in:
@@ -57,19 +57,23 @@ query getUsernames(
|
||||
getUsernames(matchString: $matchString, limit: $limit, after: $after)
|
||||
}
|
||||
|
||||
query getUsernamesAndFollowing(
|
||||
query getUserRelationshipsMatching(
|
||||
$userId: Int!
|
||||
$matchString: String!
|
||||
$limit: Int = null
|
||||
$after: String = null
|
||||
) {
|
||||
getUsernamesAndFollowing(
|
||||
getUserRelationshipsMatching(
|
||||
userId: $userId
|
||||
matchString: $matchString
|
||||
limit: $limit
|
||||
after: $after
|
||||
) {
|
||||
followers
|
||||
user {
|
||||
username
|
||||
id
|
||||
}
|
||||
follows
|
||||
following
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user