From 0da026f2ddd7dc48b5327b594cc387ec26a54af2 Mon Sep 17 00:00:00 2001 From: Daniel Szmulewicz Date: Tue, 20 Mar 2018 23:23:03 +0200 Subject: [PATCH] fix --- src/certificaat/kung_fu.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/certificaat/kung_fu.clj b/src/certificaat/kung_fu.clj index 70cfdf6..f97ea8c 100644 --- a/src/certificaat/kung_fu.clj +++ b/src/certificaat/kung_fu.clj @@ -69,7 +69,8 @@ (challenge/accept challenge)))) (defn pending? [frozen-resource options] - (let [authorization-uri (c/load-uri frozen-resource) + (let [session (session options) + authorization-uri (c/load-uri frozen-resource) authorization (authorization/restore session authorization-uri)] (= Status/PENDING (.getStatus authorization))))