summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index 3840518..001a762 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -1045,7 +1045,7 @@ sub startup {
$self->pg->db->update(
'webhooks',
{
- errored => !$success,
+ errored => $success ? 0 : 1,
latest_run => DateTime->now( time_zone => 'Europe/Berlin' ),
output => $text,
},