Added changes for the profiles to be returned and be able to be changed.
This commit is contained in:
@@ -9,6 +9,7 @@ public class Group
|
||||
public string GID { get; set; }
|
||||
public string OwnerUID { get; set; }
|
||||
public User Owner { get; set; }
|
||||
public GroupProfile? Profile { get; set; }
|
||||
[MaxLength(50)]
|
||||
public string Alias { get; set; }
|
||||
public bool InvitesEnabled { get; set; }
|
||||
|
||||
@@ -4,6 +4,7 @@ public class GroupPair
|
||||
{
|
||||
public string GroupGID { get; set; }
|
||||
public Group Group { get; set; }
|
||||
public GroupProfile Profile { get; set; }
|
||||
public string GroupUserUID { get; set; }
|
||||
public User GroupUser { get; set; }
|
||||
public bool IsPinned { get; set; }
|
||||
|
||||
@@ -1,10 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LightlessSyncShared.Models;
|
||||
namespace LightlessSyncShared.Models;
|
||||
public class GroupProfile
|
||||
{
|
||||
public string GroupGID { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user