mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 14:27:54 +00:00
Add disabling autoproxy per-account
This commit is contained in:
parent
41247c68a6
commit
37294b68da
8 changed files with 98 additions and 5 deletions
10
PluralKit.Core/Models/Patch/AccountPatch.cs
Normal file
10
PluralKit.Core/Models/Patch/AccountPatch.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
namespace PluralKit.Core
|
||||
{
|
||||
public class AccountPatch: PatchObject
|
||||
{
|
||||
public Partial<bool> AllowAutoproxy { get; set; }
|
||||
|
||||
public override UpdateQueryBuilder Apply(UpdateQueryBuilder b) => b
|
||||
.With("allow_autoproxy", AllowAutoproxy);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue