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, 2 insertions, 0 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index 9389fbd..8a86fd4 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -1432,6 +1432,8 @@ sub startup {
if ( $hook->{token} ) {
$header->{Authorization} = "Bearer $hook->{token}";
+ $header->{'User-Agent'}
+ = 'travelynx/' . $self->app->config->{version};
}
my $ua = $self->ua;