diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-10-03 14:33:56 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-10-03 14:33:56 +0200 |
commit | 2cc31422b7f36fa9e0706b83cb295ba3952d9f85 (patch) | |
tree | 9b75a6590e396fb1555836df08de1eb78db2ca9b /lib/Travelynx/Helper | |
parent | b0de6628b3be023e9cdebba05b97439ec7ae77e9 (diff) |
sync travelynx -> Träwelling: add comment
Diffstat (limited to 'lib/Travelynx/Helper')
-rw-r--r-- | lib/Travelynx/Helper/Traewelling.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Travelynx/Helper/Traewelling.pm b/lib/Travelynx/Helper/Traewelling.pm index 36af239..c6b3dd0 100644 --- a/lib/Travelynx/Helper/Traewelling.pm +++ b/lib/Travelynx/Helper/Traewelling.pm @@ -285,6 +285,10 @@ sub checkin { $opt{dep_eva} ); + if ( $opt{user_data}{comment} ) { + $request->{body} = $opt{user_data}{comment}; + } + # Work around https://github.com/Traewelling/traewelling/issues/72 $self->{user_agent}->request_timeout(20) ->get_p( |