summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-05-10 19:03:18 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-05-10 19:03:18 +0200
commit269b8536f42ee7b872f112c31490f2a44e345f23 (patch)
treef8921e41da29469cd74674a0cff921656bb6d652 /lib/Travelynx.pm
parent3f4cf9ee42eb1c8be01ccefb9b396cebe1213413 (diff)
Add webhook to account page
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,
},