Skip to content

Commit

Permalink
fix: error setting date of last exchange rates update (#699)
Browse files Browse the repository at this point in the history
Co-authored-by: Miguel Ribeiro <[email protected]>
  • Loading branch information
ellite and Miguel Ribeiro authored Jan 19, 2025
1 parent 567689d commit d2f68c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions endpoints/cronjobs/updateexchange.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@

$deleteQuery = "DELETE FROM last_exchange_update WHERE user_id = :userId";
$deleteStmt = $db->prepare($deleteQuery);
$deleteStmt->bindParam(':userId', $userId, SQLITE3_INTEGER);
$deleteResult = $deleteStmt->execute();

$query = "INSERT INTO last_exchange_update (date, user_id) VALUES (:formattedDate, :userId)";
Expand Down
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.44.0";
$version = "v2.44.1";
?>

0 comments on commit d2f68c4

Please sign in to comment.