Skip to content

Commit

Permalink
chore: stringify policy when comparing
Browse files Browse the repository at this point in the history
  • Loading branch information
wooglie committed May 16, 2024
1 parent af7ecef commit a63fb7d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
)

(defun has-guard-policy:bool (policies)
(> (length (filter (lambda (policy) (= policy marmalade-v2.guard-policy-v1)) policies)) 0))
(> (length (filter (lambda (policy) (= (format "{}" [policy]) "marmalade-v2.guard-policy-v1")) policies)) 0))

(defun enforce-init:bool
( token:object{token-info}
Expand Down

0 comments on commit a63fb7d

Please sign in to comment.