Implements tag suggestions for collections topic field (#38307)
This commit is contained in:
1 parent
6507a61d30
commit
8bce0b99d4
11 files changed
+323
-215
No files matched your search
@@ -155,8 +155,12 @@ export async function apiRequest<
|
||||
export async function apiRequestGet<ApiResponse = unknown, ApiParams = unknown>(
|
||||
url: ApiUrl,
|
||||
params?: RequestParamsOrData<ApiParams>,
|
||||
args: {
|
||||
signal?: AbortSignal;
|
||||
timeout?: number;
|
||||
} = {},
|
||||
) {
|
||||
return apiRequest<ApiResponse>('GET', url, { params });
|
||||
return apiRequest<ApiResponse>('GET', url, { params, ...args });
|
||||
}
|
||||
|
||||
export async function apiRequestPost<ApiResponse = unknown, ApiData = unknown>(
|
||||
|
||||
Reference in new issue
Block a user