fmt: fmt and clippy
This commit is contained in:
parent
f7ac2fa951
commit
2e3578bae7
4 changed files with 151 additions and 130 deletions
|
@ -1,6 +1,6 @@
|
|||
use skynet_ldap_server::methods::account_new::{post_new_account, post_new_account_confirmation};
|
||||
use skynet_ldap_server::methods::account_update::post_update_ldap;
|
||||
use skynet_ldap_server::{db_init, get_config, State};
|
||||
use skynet_ldap_server::methods::account_new::{post_new_account, post_new_account_confirmation};
|
||||
|
||||
#[async_std::main]
|
||||
async fn main() -> tide::Result<()> {
|
||||
|
@ -19,7 +19,7 @@ async fn main() -> tide::Result<()> {
|
|||
let mut app = tide::with_state(state);
|
||||
|
||||
app.at("/ldap/update").post(post_update_ldap);
|
||||
|
||||
|
||||
app.at("/ldap/new").post(post_new_account);
|
||||
app.at("/ldap/new/verify").post(post_new_account_confirmation);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue