From 8604d25ffeec2c0738518153f2bc875284e08739 Mon Sep 17 00:00:00 2001 From: Ske Date: Wed, 30 Oct 2019 09:19:49 +0100 Subject: [PATCH] Fix legacy prefix/suffix API fields --- PluralKit.Core/Models.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PluralKit.Core/Models.cs b/PluralKit.Core/Models.cs index 61d769b0..41e1e0f7 100644 --- a/PluralKit.Core/Models.cs +++ b/PluralKit.Core/Models.cs @@ -78,8 +78,8 @@ namespace PluralKit [JsonProperty("suffix")] [Obsolete("Use PKMember.ProxyTags")] public string Suffix { - get => ProxyTags?.FirstOrDefault().Prefix; - set => ProxyTags = new[] {new ProxyTag(Prefix, value)}; + get => ProxyTags?.FirstOrDefault().Suffix; + set => ProxyTags = new[] {new ProxyTag(Suffix, value)}; } /// Returns a formatted string representing the member's birthday, taking into account that a year of "0001" is hidden