Rename hook module to hooks
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
b281cf8b44
commit
2f101c617c
4 changed files with 4 additions and 4 deletions
|
@ -13,7 +13,7 @@
|
|||
// You should have received a copy of the GNU Affero General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use crate::hook::{format_hook, Hook};
|
||||
use crate::hooks::{format_hook, Hook};
|
||||
|
||||
use log::debug;
|
||||
use xmpp::jid::{BareJid, Jid};
|
||||
|
|
|
@ -19,13 +19,13 @@
|
|||
mod bot;
|
||||
mod config;
|
||||
mod error;
|
||||
mod hook;
|
||||
mod hooks;
|
||||
mod web;
|
||||
|
||||
use crate::bot::XmppClient;
|
||||
use crate::config::Config;
|
||||
use crate::error::Error;
|
||||
use crate::hook::Hook;
|
||||
use crate::hooks::Hook;
|
||||
use crate::web::hooks;
|
||||
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use crate::error::Error;
|
||||
use crate::hook::{ForgejoHook, GitlabHook, Hook};
|
||||
use crate::hooks::{ForgejoHook, GitlabHook, Hook};
|
||||
|
||||
use std::convert::Infallible;
|
||||
use std::io::Read;
|
||||
|
|
Loading…
Reference in a new issue