Commit eb2b9e3e authored by James Lopez's avatar James Lopez

fix project members json to include user

parent 2fd30231
......@@ -11,11 +11,15 @@ module Projects
end
def project_tree
%i(project_members issues merge_requests labels milestones snippets releases events commit_statuses)
%i(issues merge_requests labels milestones snippets releases events commit_statuses) + members
end
private
def members
[{ project_members: { include: [user: { only: [:email, :username] }] } }]
end
def storage_path
File.join(Settings.shared['path'], 'tmp/project_exports')
end
......
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