13 lines
302 B
C#
Raw Normal View History

using SqlKata;
2020-11-20 18:34:08 -05:00
namespace PluralKit.Core
{
2021-08-27 11:03:47 -04:00
public class AccountPatch: PatchObject
{
public Partial<bool> AllowAutoproxy { get; set; }
2020-11-20 18:34:08 -05:00
public override Query Apply(Query q) => q.ApplyPatch(wrapper => wrapper
.With("allow_autoproxy", AllowAutoproxy)
);
2021-08-27 11:03:47 -04:00
}
}