This commit is contained in:
Mylloon 2022-01-03 10:38:45 +01:00
parent 4eccee91d1
commit 181c6dc69b
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -1,6 +1,6 @@
use mattermost_api::prelude::*; use mattermost_api::prelude::*;
/// Se connecte à Mattermost depuis Gitlab /// Se connecte à Mattermost
pub async fn connexion(token: &str, pseudo: &str, mot_de_passe: &str, url: &str) -> mattermost_api::client::Mattermost { pub async fn connexion(token: &str, pseudo: &str, mot_de_passe: &str, url: &str) -> mattermost_api::client::Mattermost {
let auth; let auth;
if token.len() > 0 { if token.len() > 0 {