Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsz committed Mar 20, 2018
1 parent 846b6d1 commit 0da026f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/certificaat/kung_fu.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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))))

Expand Down

0 comments on commit 0da026f

Please sign in to comment.