mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-23 06:32:20 +00:00
Cleanup api docs and ts api-client options (#3663)
This commit is contained in:
@@ -158,7 +158,7 @@ const selectedAgent = ref<Partial<Agent>>();
|
||||
const isEditingAgent = computed(() => !!selectedAgent.value?.id);
|
||||
|
||||
async function loadAgents(page: number): Promise<Agent[] | null> {
|
||||
return apiClient.getAgents(page);
|
||||
return apiClient.getAgents({ page });
|
||||
}
|
||||
|
||||
const { resetPage, data: agents } = usePagination(loadAgents, () => !selectedAgent.value);
|
||||
|
||||
Reference in New Issue
Block a user