mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
FEATURE: Filter topic and post web hook events by tags (#6726)
* FEATURE: Filter topic and post web hook events by tags * Add a spec test with unmatched tags
This commit is contained in:
@ -10,6 +10,7 @@ class AdminWebHookSerializer < ApplicationSerializer
|
||||
:web_hook_event_types
|
||||
|
||||
has_many :categories, serializer: BasicCategorySerializer, embed: :ids, include: false
|
||||
has_many :tags, key: :tag_names, serializer: TagSerializer, embed: :ids, embed_key: :name, include: false
|
||||
has_many :groups, serializer: BasicGroupSerializer, embed: :ids, include: false
|
||||
|
||||
def web_hook_event_types
|
||||
|
Reference in New Issue
Block a user