From cda8e53b342ba22d19c8ad5c5b5861159858a9c3 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 22 Jan 2020 20:18:37 +0100 Subject: [PATCH] has_wagonorder: Fix promise result mixup --- lib/Travelynx.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(