Skip to content

Commit c3330be

Browse files
committed
Fix donations api urls [2]
Signed-off-by: kiranpranay <pranay@cottonseeds.org>
1 parent cdbb4db commit c3330be

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

donations.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
if(isset($_GET['year'])){
2121
$year = $_GET['year'];
2222
}
23-
$url = "http://apis.stmorg.in/logs/donations?month=".$month."&year=".$year."&page=".$page;
23+
$url = "https://apis.stmorg.in/logs/donations?month=".$month."&year=".$year."&page=".$page;
2424
$data = get_api_data($url);
2525
$data = json_decode($data, true);
2626
$total_pages = $data['total_pages'];
2727
$data = $data['data'];
2828
}else{
29-
$url = "http://apis.stmorg.in/logs/donations?page=".$page;
29+
$url = "https://apis.stmorg.in/logs/donations?page=".$page;
3030
$data = get_api_data($url);
3131
$data = json_decode($data, true);
3232
$total_pages = $data['total_pages'];

0 commit comments

Comments
 (0)