Skip to content

Commit

Permalink
format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RiXelanya committed Oct 9, 2023
1 parent 86f342e commit d2f2d15
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pallets/genetic-analysis-orders/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ where
}

pub fn can_refunded(self) -> Option<Self> {
if (self.status == GeneticAnalysisOrderStatus::Paid || self.status == GeneticAnalysisOrderStatus::Failed) {
if (self.status == GeneticAnalysisOrderStatus::Paid
|| self.status == GeneticAnalysisOrderStatus::Failed)
{
Some(self)
} else {
None
Expand Down

0 comments on commit d2f2d15

Please sign in to comment.