summaryrefslogtreecommitdiff
path: root/SetUser.cs
diff options
context:
space:
mode:
Diffstat (limited to 'SetUser.cs')
-rw-r--r--SetUser.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/SetUser.cs b/SetUser.cs
index 93af581..cf13c7f 100644
--- a/SetUser.cs
+++ b/SetUser.cs
@@ -1,15 +1,11 @@
-using HyperBooru.ApiClient;
-using System.Management.Automation;
+using System.Management.Automation;
using System.Security;
namespace HyperBooru.PowerShell;
[Alias("shbu")]
[Cmdlet(VerbsCommon.Set, "HyperBooruUser")]
-public class SetUserCmdlet : PSCmdlet {
- [Parameter(Position = 0, Mandatory = true)]
- public HBSession Session { get; set; }
-
+public class SetUserCmdlet : SessionCmdlet {
[Parameter(Position = 1, Mandatory = true)]
public Guid UserId { get; set; }