Commit 1baa123e authored by mgabdev's avatar mgabdev

Added includes for GroupCategory in GroupController set_group

• Added:
- includes for GroupCategory in GroupController set_group
parent 8c4f4899
......@@ -85,7 +85,7 @@ class Api::V1::GroupsController < Api::BaseController
private
def set_group
@group = Group.where(id: params[:id], is_archived: false).first
@group = Group.where(id: params[:id], is_archived: false).includes(:group_categories).first
end
def group_params
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment