mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 01:16:31 +03:00
Stop using create::error in login_param.rs
This commit is contained in:
committed by
holger krekel
parent
95180a850f
commit
2792d4ea1e
@@ -4,7 +4,6 @@ use std::borrow::Cow;
|
|||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
|
||||||
use crate::context::Context;
|
use crate::context::Context;
|
||||||
use crate::error::Error;
|
|
||||||
use async_std::sync::Arc;
|
use async_std::sync::Arc;
|
||||||
use rustls;
|
use rustls;
|
||||||
use webpki;
|
use webpki;
|
||||||
@@ -134,7 +133,7 @@ impl LoginParam {
|
|||||||
&self,
|
&self,
|
||||||
context: &Context,
|
context: &Context,
|
||||||
prefix: impl AsRef<str>,
|
prefix: impl AsRef<str>,
|
||||||
) -> Result<(), Error> {
|
) -> crate::sql::Result<()> {
|
||||||
let prefix = prefix.as_ref();
|
let prefix = prefix.as_ref();
|
||||||
let sql = &context.sql;
|
let sql = &context.sql;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user