Removed debug logged messages.

This commit is contained in:
Hipposgrumm 2024-12-02 23:03:13 -07:00 committed by GitHub
parent 1b2622927f
commit 46870e9341
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,