chore: change variable name
This commit is contained in:
parent
f8673082c7
commit
d3a6ac7187
1 changed files with 2 additions and 2 deletions
|
|
@ -18,13 +18,13 @@ export const useWorkflowTemplate = defineStore('workkflow-store', () => {
|
|||
return res.data;
|
||||
}
|
||||
|
||||
async function getWorkflowTemplateList(query?: {
|
||||
async function getWorkflowTemplateList(params?: {
|
||||
page?: number;
|
||||
pageSize?: number;
|
||||
}) {
|
||||
const res = await api.get<PaginationResult<WorkflowTemplate>>(
|
||||
'/workflow-template',
|
||||
{ params: query },
|
||||
{ params },
|
||||
);
|
||||
|
||||
if (res.status >= 400) return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue