chore: reanme flowy-user crate

This commit is contained in:
appflowy
2022-07-19 14:40:56 +08:00
parent 193527e043
commit 8e18d3a937
38 changed files with 148 additions and 146 deletions

View File

@ -4,7 +4,7 @@ pub mod helper;
use crate::helper::*;
use flowy_net::{get_client_server_configuration, ClientServerConfiguration};
use flowy_sdk::{FlowySDK, FlowySDKConfig};
use flowy_user::entities::UserProfile;
use flowy_user::entities::UserProfilePB;
use nanoid::nanoid;
pub mod prelude {
@ -47,7 +47,7 @@ impl FlowySDKTest {
context
}
pub async fn init_user(&self) -> UserProfile {
pub async fn init_user(&self) -> UserProfilePB {
let context = async_sign_up(self.inner.dispatcher()).await;
init_user_setting(self.inner.dispatcher()).await;
context.user_profile