Skip to content

Commit

Permalink
Merge pull request #516 from actiontech/chore/update-backup-api
Browse files Browse the repository at this point in the history
[chore]: Update api
  • Loading branch information
LZS911 authored Nov 29, 2024
2 parents 368835b + 4d9eda6 commit e0f6970
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/shared/lib/api/sqle/service/common.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ export interface IAuditTaskSQLResV1 {

number?: number;

rollback_sql?: string;
rollback_sqls?: string[];
}

export interface IAuditTasksGroupResV1 {
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/lib/api/sqle/service/workflow/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ class WorkflowService extends ServiceBase {
delete paramsData.workflow_id;

return this.post<ICreateRollbackWorkflowReturn>(
`/v1/projects/${project_name}/workflows/${workflow_id}/rollback`,
`/v1/projects/${project_name}/workflows/${workflow_id}/create_rollback_workflow`,
paramsData,
options
);
Expand Down

0 comments on commit e0f6970

Please sign in to comment.