summaryrefslogtreecommitdiff
path: root/lib/Travelynx
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-17 13:35:38 -0400
committerDaniel Friesel <derf@finalrewind.org>2019-04-17 13:35:38 -0400
commit8ad05720a281fdae96721ed1c5622c4d7762ad20 (patch)
treebbd84a88cd6c8b73d19270ed4a782ce9b0a41593 /lib/Travelynx
parentecedc6a4f221f286fb2c9b006d2434fdb0f98bc7 (diff)
Refactor user_actions insert/update/delete statements with Mojo::Pg
Diffstat (limited to 'lib/Travelynx')
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm
index 0ace304..43dd7f0 100755
--- a/lib/Travelynx/Controller/Traveling.pm
+++ b/lib/Travelynx/Controller/Traveling.pm
@@ -470,7 +470,7 @@ sub edit_journey {
$error = $self->update_journey_part(
$journey->{ids}[0],
$journey->{ids}[1],
- $key, $datetime->epoch
+ $key, $datetime
);
if ($error) {
last;