diff options
author | 2024-05-01 15:11:22 +0200 | |
---|---|---|
committer | 2024-05-01 14:11:22 +0100 | |
commit | 725a21b02721f92ed0420ed3f807ee921de77992 (patch) | |
tree | 3940e4b0a7cf3328357ccb86be971126ab2a12b5 /web/source/settings/lib/query/gts-api.ts | |
parent | [bugfix] Tidy up remaining references to workers in cmd (#2889) (diff) | |
download | gotosocial-725a21b02721f92ed0420ed3f807ee921de77992.tar.xz |
[feature] Page through accounts as moderator (#2881)
* [feature] Page through accounts as moderator
* aaaaa
* use COLLATE "C" for Postgres to ensure same ordering as SQLite
* fix typo, test paging up
* don't show moderation / info for our instance acct
Diffstat (limited to 'web/source/settings/lib/query/gts-api.ts')
-rw-r--r-- | web/source/settings/lib/query/gts-api.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/web/source/settings/lib/query/gts-api.ts b/web/source/settings/lib/query/gts-api.ts index a07f5ff1e..6e5eafeab 100644 --- a/web/source/settings/lib/query/gts-api.ts +++ b/web/source/settings/lib/query/gts-api.ts @@ -24,7 +24,7 @@ import type { FetchBaseQueryError, } from '@reduxjs/toolkit/query/react'; import { serialize as serializeForm } from "object-to-formdata"; - +import type { FetchBaseQueryMeta } from "@reduxjs/toolkit/dist/query/fetchBaseQuery"; import type { RootState } from '../../redux/store'; import { InstanceV1 } from '../types/instance'; @@ -65,7 +65,9 @@ export interface GTSFetchArgs extends FetchArgs { const gtsBaseQuery: BaseQueryFn< string | GTSFetchArgs, any, - FetchBaseQueryError + FetchBaseQueryError, + {}, + FetchBaseQueryMeta > = async (args, api, extraOptions) => { // Retrieve state at the moment // this function was called. |