Skip to content

Commit

Permalink
fix: update exchange cron only working for one user
Browse files Browse the repository at this point in the history
  • Loading branch information
ellite committed Jun 10, 2024
1 parent c835a62 commit bf6eeb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions endpoints/cronjobs/updateexchange.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
$stmt->bindParam(':userId', $userId, SQLITE3_INTEGER);
$result = $stmt->execute();

$db->close();
echo "Rates updated successfully!<br />";
}
} else {
Expand All @@ -99,7 +98,7 @@
echo "Exchange rates update skipped. No fixer.io api key provided<br />";
$apiKey = null;
}

}
$db->close();

?>
2 changes: 1 addition & 1 deletion includes/version.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php
$version = "v2.4.1";
$version = "v2.4.2";
?>

0 comments on commit bf6eeb7

Please sign in to comment.