Skip to content

Commit 635fe3f

Browse files
committed
fix: risklevel
1 parent fa0c69a commit 635fe3f

File tree

1 file changed

+2
-2
lines changed
  • src/main/java/com/blockguard/server/domain/analysis/domain/enums

1 file changed

+2
-2
lines changed

src/main/java/com/blockguard/server/domain/analysis/domain/enums/RiskLevel.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ public String getValue(){
2121
}
2222

2323
public static RiskLevel fromScore(double score) {
24-
if (score <= 30) {
24+
if (score <= 33) {
2525
return Safety;
26-
} else if (score <= 60) {
26+
} else if (score <= 66) {
2727
return Caution;
2828
} else {
2929
return Dangers;

0 commit comments

Comments
 (0)