about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--crates/yt/src/commands/database/mod.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/yt/src/commands/database/mod.rs b/crates/yt/src/commands/database/mod.rs
index b391686..92b120f 100644
--- a/crates/yt/src/commands/database/mod.rs
+++ b/crates/yt/src/commands/database/mod.rs
@@ -23,6 +23,9 @@ pub(super) enum OperationType {
 
 impl Display for OperationType {
     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
-        <Self as fmt::Debug>::fmt(self, f)
+        match self {
+            OperationType::Video => f.write_str("video"),
+            OperationType::Subscription => f.write_str("subscription"),
+        }
     }
 }