feat(apiv2): docs fixes

This commit is contained in:
spiral
2021-10-22 17:54:47 -04:00
parent 7d36a39a57
commit 8e0e393f52
4 changed files with 10 additions and 9 deletions

View File

@@ -123,8 +123,8 @@ namespace PluralKit.Core
o.Add("name", member.NameFor(ctx));
// o.Add("color", member.ColorPrivacy.CanAccess(ctx) ? member.Color : null);
o.Add("color", member.Color);
o.Add("display_name", member.NamePrivacy.CanAccess(ctx) ? member.DisplayName : null);
o.Add("color", member.Color);
o.Add("birthday", member.BirthdayFor(ctx)?.FormatExport());
o.Add("pronouns", member.PronounsFor(ctx));
o.Add("avatar_url", member.AvatarFor(ctx).TryGetCleanCdnUrl());