Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update types.rs
Browse files Browse the repository at this point in the history
RiXelanya committed Oct 9, 2023
1 parent f47454d commit 86f342e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/genetic-analysis-orders/src/types.rs
Original file line number Diff line number Diff line change
@@ -126,7 +126,7 @@ where
}

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

0 comments on commit 86f342e

Please sign in to comment.