summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-12-31 13:27:14 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-12-31 13:27:14 +0100
commita9a7fa4492fecae9b03cc79d960a72d3bfbd3fdc (patch)
tree6e5060d778b5cc9ba0ed9da0889f263a43891cda /lib
parent86a991c28ca06040c111b33cc36a0dd53bb29952 (diff)
Release Travel API1.13.0
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Travelynx/Controller/Api.pm12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Travelynx/Controller/Api.pm b/lib/Travelynx/Controller/Api.pm
index b951af4..931d41b 100755
--- a/lib/Travelynx/Controller/Api.pm
+++ b/lib/Travelynx/Controller/Api.pm
@@ -97,18 +97,6 @@ sub travel_v1 {
return;
}
- if ( $self->app->mode ne 'development' ) {
- $self->render(
- json => {
- success => \0,
- deprecated => \0,
- error =>
-'This feature is incomplete and only available in development mode',
- },
- );
- return;
- }
-
my $api_token = $payload->{token} // '';
if ( $api_token !~ qr{ ^ (?<id> \d+ ) - (?<token> .* ) $ }x ) {