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 d2f2d15 commit c6f25b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pallets/genetic-analysis-orders/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ 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 {
Expand Down

0 comments on commit c6f25b4

Please sign in to comment.