Selaa lähdekoodia

fix(rules): the schema for unsubscribe is messing from rule_test API

Shawn 4 vuotta sitten
vanhempi
commit
5f050b149b
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      apps/emqx_rule_engine/src/emqx_rule_api_schema.erl

+ 1 - 0
apps/emqx_rule_engine/src/emqx_rule_api_schema.erl

@@ -68,6 +68,7 @@ fields("rule_events") ->
 fields("rule_test") ->
     [ {"context", sc(hoconsc:union([ ref("ctx_pub")
                                    , ref("ctx_sub")
+                                   , ref("ctx_unsub")
                                    , ref("ctx_delivered")
                                    , ref("ctx_acked")
                                    , ref("ctx_dropped")