get notifications

This commit is contained in:
realaravinth
2021-05-10 15:38:09 +05:30
parent aa0c30f1bd
commit 91ca00ea79
18 changed files with 241 additions and 25 deletions

View File

@@ -94,7 +94,10 @@ pub async fn register<'a>(name: &'a str, email: &str, password: &str) {
}
/// signin util
pub async fn signin<'a>(name: &'a str, password: &str) -> (data::Data, Login, ServiceResponse) {
pub async fn signin<'a>(
name: &'a str,
password: &str,
) -> (data::Data, Login, ServiceResponse) {
let data = Data::new().await;
let mut app = get_app!(data).await;