From 9935497b37ece1317dbcc849b295b33410e0ffca Mon Sep 17 00:00:00 2001
From: iximeow <me@iximeow.net>
Date: Tue, 27 Jun 2023 01:51:12 -0700
Subject: [cli] support same notifiers as db will validate

---
 src/ci_ctl.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src')

diff --git a/src/ci_ctl.rs b/src/ci_ctl.rs
index 6abb829..36eada5 100644
--- a/src/ci_ctl.rs
+++ b/src/ci_ctl.rs
@@ -151,7 +151,7 @@ fn main() {
                             "github" => {
                                 assert!(NotifierConfig::github_from_file(&full_config_file_path).is_ok());
                             }
-                            "email" => {
+                            "github-email" => {
                                 assert!(NotifierConfig::email_from_file(&full_config_file_path).is_ok());
                             }
                             other => {
@@ -187,7 +187,7 @@ fn main() {
                         "github" => {
                             NotifierConfig::github_from_file(&config_file).unwrap();
                         }
-                        "email" => {
+                        "github-email" => {
                             NotifierConfig::email_from_file(&config_file).unwrap();
                         }
                         other => {
-- 
cgit v1.1