Skip to content

Commit 5f11a58

Browse files
author
Divya Kamal
committed
Commit description
1 parent 0773fed commit 5f11a58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/routers/v1.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ async def get_recovered():
5151
return recovered_data
5252

5353

54+
5455
class PositivityRate:
5556

5657
async def total_positivity_rate():
5758
total_test: int
58-
p_rate = float(get_confirmed()/total_test)*100
59+
p_rate = float((confirmed_data/total_test)*100)
5960
return p_rate

0 commit comments

Comments
 (0)