Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit dc999a7

Browse files
update
1 parent 9f71be8 commit dc999a7

File tree

2 files changed

+319
-291
lines changed

2 files changed

+319
-291
lines changed

api/public/v2/pull/serializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,5 @@ def get_patch(self, obj: Pull):
7070
hits=hits,
7171
misses=misses,
7272
partials=partials,
73-
coverage=100 * hits / total_branches,
73+
coverage=round(100 * hits / total_branches, 2),
7474
)

0 commit comments

Comments
 (0)