pub async fn update_profile( user: User, pool: &State<MySqlPool>, data: String, ) -> Result<Value, Custom<String>>
Update user profile information