fix: import of translations for cronjobs was missing (#321)

refactor: retrieval of webroot path
chore: add sqlite to docker image
This commit is contained in:
Miguel Ribeiro
2024-05-13 17:45:59 +02:00
committed by GitHub
parent 46f933ade7
commit a524419e0a
10 changed files with 17 additions and 24 deletions
@@ -42,7 +42,7 @@ require_once '../../includes/connect_endpoint.php';
$query = "INSERT INTO discord_notifications (enabled, webhook_url, bot_username, bot_avatar_url)
VALUES (:enabled, :webhook_url, :bot_username, :bot_avatar_url)";
} else {
$query = "UPDATE pushover_notifications
$query = "UPDATE discord_notifications
SET enabled = :enabled, webhook_url = :webhook_url, bot_username = :bot_username, bot_avatar_url = :bot_avatar_url";
}