Fix the build.

This commit is contained in:
Guo Xiang Tan 2018-04-17 18:14:19 +08:00
parent 2b8307c6c3
commit 2d9d77d390

View File

@ -47,7 +47,7 @@ class BasicGroupSerializer < ApplicationSerializer
end
def include_bio_raw?
staff? || is_group_owner
staff? || (include_is_group_owner? && is_group_owner)
end
def include_is_group_user?