Updated dependencies
This commit is contained in:
@@ -46,6 +46,6 @@ async fn notify_about_no_user_info(
|
||||
}
|
||||
|
||||
/// Gets a handler that filters out the messages without user information
|
||||
pub fn get_handler() -> Handler<'static, DependencyMap, crate::Result<()>, DpHandlerDescription> {
|
||||
pub fn get_handler() -> Handler<'static, crate::Result<()>, DpHandlerDescription> {
|
||||
dptree::filter(has_no_user_info).endpoint(notify_about_no_user_info)
|
||||
}
|
||||
|
@@ -44,6 +44,6 @@ async fn notify_about_no_master_pass(
|
||||
}
|
||||
|
||||
/// Gets a handler that filters out the messages of users that don't have a master password set
|
||||
pub fn get_handler() -> Handler<'static, DependencyMap, crate::Result<()>, DpHandlerDescription> {
|
||||
pub fn get_handler() -> Handler<'static, crate::Result<()>, DpHandlerDescription> {
|
||||
dptree::filter_map_async(master_pass_exists).endpoint(notify_about_no_master_pass)
|
||||
}
|
||||
|
Reference in New Issue
Block a user