Skip to content

Commit

Permalink
fix(substatus): Fix the withdraw enabled substatus for withdrawn pack…
Browse files Browse the repository at this point in the history
…ages (#280)

* Nullify the raiwithdraw wnable flag when the package is withdrawn

* False preferred
  • Loading branch information
mdial89f authored Dec 21, 2023
1 parent 755235a commit 9045759
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/packages/shared-types/action-types/withdraw-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const transformWithdrawPackage = (id: string) => {
// This does nothing. Just putting the mechanics in place.
return withdrawPackageSchema.transform((data) => ({
id,
raiWithdrawEnabled: false,
}));
};
export type WithdrawPackageTransform = z.infer<
Expand Down

0 comments on commit 9045759

Please sign in to comment.