mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-08-03 05:46:06 +00:00
feat: add query parameter to users/following and users/followers APIs for filtering
Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
This commit is contained in:
@@ -30,6 +30,8 @@ const followingPaginator = markRaw(new Paginator('users/following', {
|
||||
computedParams: computed(() => ({
|
||||
userId: props.user.id,
|
||||
})),
|
||||
canSearch: true,
|
||||
searchParamName: 'query',
|
||||
}));
|
||||
|
||||
const followersPaginator = markRaw(new Paginator('users/followers', {
|
||||
@@ -37,6 +39,8 @@ const followersPaginator = markRaw(new Paginator('users/followers', {
|
||||
computedParams: computed(() => ({
|
||||
userId: props.user.id,
|
||||
})),
|
||||
canSearch: true,
|
||||
searchParamName: 'query',
|
||||
}));
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user