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

This commit is contained in:
Shawn 2021-12-22 10:15:48 +08:00
parent bbe223b4ad
commit 5f050b149b
1 changed files with 1 additions and 0 deletions

View File

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