summaryrefslogtreecommitdiff
path: root/RemoveMediaTag.cs
diff options
context:
space:
mode:
Diffstat (limited to 'RemoveMediaTag.cs')
-rw-r--r--RemoveMediaTag.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/RemoveMediaTag.cs b/RemoveMediaTag.cs
index d41980d..d9d0b31 100644
--- a/RemoveMediaTag.cs
+++ b/RemoveMediaTag.cs
@@ -1,14 +1,10 @@
-using HyperBooru.ApiClient;
-using System.Management.Automation;
+using System.Management.Automation;
namespace HyperBooru.PowerShell;
[Alias("rhbmt")]
[Cmdlet(VerbsCommon.Remove, "HyperBooruMediaTag")]
-public class RemoveMediaTagCmdlet : PSCmdlet {
- [Parameter(Position = 0, Mandatory = true)]
- public required HBSession Session { get; set; }
-
+public class RemoveMediaTagCmdlet : SessionCmdlet {
[Parameter(Position = 1, Mandatory = true)]
public Guid MediaId { get; set; }