From f0024f5ec7f5b64400dc6b5db2e745a07d086b9c Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Mon, 21 May 2018 11:32:54 +0800 Subject: [PATCH] Inherit from `BasicGroupSerializer` for `WebHookGroupSerializer`. --- app/serializers/web_hook_group_serializer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/serializers/web_hook_group_serializer.rb b/app/serializers/web_hook_group_serializer.rb index c580451db88..66264abcaf2 100644 --- a/app/serializers/web_hook_group_serializer.rb +++ b/app/serializers/web_hook_group_serializer.rb @@ -1,4 +1,4 @@ -class WebHookGroupSerializer < GroupShowSerializer +class WebHookGroupSerializer < BasicGroupSerializer %i{ is_group_user