1
0
Fork 0

Update StatsAtomicActionsJob.java

Bug fix for duplicate bronze checks
This commit is contained in:
dimitrispie 2023-11-23 10:48:55 +02:00
parent d524e30866
commit 359e81b7a6
1 changed files with 2 additions and 2 deletions

View File

@ -138,10 +138,10 @@ public class StatsAtomicActionsJob implements Serializable {
r.setPubliclyFunded(usm.isPublicly_funded());
if (usm.isIs_bronze_oa())
r.setOpenAccessColor(OpenAccessColor.bronze);
else if (usm.isIs_gold())
r.setOpenAccessColor(OpenAccessColor.bronze);
else if (usm.isIs_gold())
r.setOpenAccessColor(OpenAccessColor.gold);
else if (usm.isIs_hybrid())
r.setOpenAccessColor(OpenAccessColor.hybrid);
return r;
}, Encoders.bean(Result.class));
}