Skip to content

Commit

Permalink
Fix switch
Browse files Browse the repository at this point in the history
  • Loading branch information
jpdjere committed Aug 2, 2024
1 parent 30283f7 commit b325afa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,3 @@ export const PerformRuleUpgradeRequestBody = z.union([
UpgradeAllRulesRequest,
UpgradeSpecificRulesRequest,
]);
export type PerformRuleUpgradeRequestBodyInput = z.input<typeof PerformRuleUpgradeRequestBody>;

export type PerformRuleUpgradeResponse = z.infer<typeof PerformRuleUpgradeResponse>;
export const PerformRuleUpgradeResponse = PerformRuleUpgradeResponseBody;
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ export const performRuleUpgradeRoute = (router: SecuritySolutionPluginRouter) =>
break;
case PickVersionValuesEnum.TARGET:
targetRules.push(target);
break;
case PickVersionValuesEnum.MERGED:
// TODO: Implement functionality to handle MERGED
targetRules.push(target);
Expand Down

0 comments on commit b325afa

Please sign in to comment.