feat: rename san to subjectAltNames, workflow to workflowId, nodeId to workflowNodeId, output to workflowOutputId, log to logs, succeed to succeeded
This commit is contained in:
@@ -20,7 +20,7 @@ export const list = async (request: ListCertificateRequest) => {
|
||||
|
||||
const options: RecordListOptions = {
|
||||
sort: "-created",
|
||||
expand: "workflow",
|
||||
expand: "workflowId",
|
||||
requestKey: null,
|
||||
};
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ export const list = async (request: ListWorkflowRunsRequest) => {
|
||||
return await getPocketBase()
|
||||
.collection(COLLECTION_NAME)
|
||||
.getList<WorkflowRunModel>(page, perPage, {
|
||||
filter: getPocketBase().filter("workflow={:workflowId}", { workflowId: request.workflowId }),
|
||||
filter: getPocketBase().filter("workflowId={:workflowId}", { workflowId: request.workflowId }),
|
||||
sort: "-created",
|
||||
requestKey: null,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user