fix(api): show correct autoproxy member uuid

This commit is contained in:
spiral 2021-12-01 17:28:52 -05:00
parent 7bf6c2064f
commit d28b67cb81
No known key found for this signature in database
GPG Key ID: A6059F0CA0E1BD31

View File

@ -29,7 +29,7 @@ public class DiscordControllerV2: PKControllerBase
if (settings.AutoproxyMember != null)
member = await _repo.GetMember(settings.AutoproxyMember.Value);
return Ok(settings.ToJson(member?.Hid));
return Ok(settings.ToJson(member?.Uuid.ToString()));
}
[HttpPatch("systems/{systemRef}/guilds/{guild_id}")]