mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-12 00:38:48 -07:00
Removed debug logged messages.
This commit is contained in:
parent
1b2622927f
commit
46870e9341
@ -61,9 +61,7 @@ public class GroupController : Controller {
|
|||||||
public Schema.Group[] GetGroupsByGroupType([FromForm] string apiKey, [FromForm] string groupType) {
|
public Schema.Group[] GetGroupsByGroupType([FromForm] string apiKey, [FromForm] string groupType) {
|
||||||
AddEMDGroups();
|
AddEMDGroups();
|
||||||
List<Schema.Group> groups = new List<Schema.Group>();
|
List<Schema.Group> groups = new List<Schema.Group>();
|
||||||
Console.WriteLine("Wanting "+apiKey);
|
|
||||||
foreach (Model.Group group in ctx.Groups) {
|
foreach (Model.Group group in ctx.Groups) {
|
||||||
Console.WriteLine($"{group.Name} is {group.Type} with {group.ApiKey}");
|
|
||||||
if (group.ApiKey == apiKey && group.Type.ToString() == groupType) groups.Add(new Schema.Group {
|
if (group.ApiKey == apiKey && group.Type.ToString() == groupType) groups.Add(new Schema.Group {
|
||||||
GroupID = group.GroupID.ToString(),
|
GroupID = group.GroupID.ToString(),
|
||||||
Name = group.Name,
|
Name = group.Name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user