Skip to content

Commit

Permalink
Fix macro resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
snoe committed Jul 21, 2022
1 parent 8e5e7ff commit 1b40272
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/metabase/actions/test_util.clj
Expand Up @@ -204,7 +204,7 @@
{:style/indent 1
:arglists '([bindings {:keys [action-id], :as _action}] & body)}
[[bindings action] & body]
`(do-with-emitter ~'Dashboard ~action (fn [~bindings] ~@body)))
`(do-with-emitter Dashboard ~action (fn [~bindings] ~@body)))

(defmacro with-card-emitter
"Execute `body` with a newly created CardEmitter created for an Action with `:action-id`. Intended for use with the
Expand All @@ -217,7 +217,7 @@
{:style/indent 1
:arglists '([bindings {:keys [action-id], :as _action}] & body)}
[[bindings action] & body]
`(do-with-emitter ~'Card ~action (fn [~bindings] ~@body)))
`(do-with-emitter Card ~action (fn [~bindings] ~@body)))

(defn do-with-actions-enabled
"Impl for [[with-actions-enabled]]."
Expand Down

0 comments on commit 1b40272

Please sign in to comment.