summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-01-22 20:18:37 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-01-22 20:18:37 +0100
commitcda8e53b342ba22d19c8ad5c5b5861159858a9c3 (patch)
treeb457111f46699b7e78cefd3182150a5bac515e69 /lib/Travelynx.pm
parent9232cdaa5fd098c4db6a49d475d089babf7debf9 (diff)
has_wagonorder: Fix promise result mixup1.13.5
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 38c0212..f81375c 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -1869,7 +1869,7 @@ sub startup {
}
else {
$cache->set( $url, 'n' );
- $promise->resolve;
+ $promise->reject;
}
}
)->catch(