use serde_json to dump out owner accounts when theyre built by hand
This commit is contained in:
parent
19ee2c2577
commit
c8ee118904
@ -202,7 +202,7 @@ OPTIONS:
|
||||
let p = Pool::new(&env::var("DATABASE_URL").unwrap());
|
||||
println!("Creating owner {{ {} }}...", owner_name);
|
||||
if let Ok(owner) = members::insert_new_member(&p, owner_name.to_string(), std::u64::MAX).await {
|
||||
println!("{}", owner.to_json());
|
||||
println!("{}", serde_json::to_string(&owner).unwrap());
|
||||
}
|
||||
p.disconnect();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user