Skip to content

Commit

Permalink
fix: add 'rule_engine' as possible tag() value for spec
Browse files Browse the repository at this point in the history
  • Loading branch information
sstrigler committed Apr 11, 2023
1 parent b48fb17 commit 8ef36f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/emqx_rule_engine/src/emqx_rule_api_schema.erl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

-export([roots/0, fields/1]).

-type tag() :: rule_creation | rule_test.
-type tag() :: rule_creation | rule_test | rule_engine.

-spec check_params(map(), tag()) -> {ok, map()} | {error, term()}.
check_params(Params, Tag) ->
Expand Down

0 comments on commit 8ef36f2

Please sign in to comment.