PluralKit/PluralKit.Core/Models/Patch/AccountPatch.cs

13 lines
302 B
C#

using SqlKata;
namespace PluralKit.Core
{
public class AccountPatch: PatchObject
{
public Partial<bool> AllowAutoproxy { get; set; }
public override Query Apply(Query q) => q.ApplyPatch(wrapper => wrapper
.With("allow_autoproxy", AllowAutoproxy)
);
}
}