Cache local when creating local instance

This commit is contained in:
Kitaiti Makoto 2021-12-05 20:22:32 +09:00
parent 5651e11ba1
commit de4380fd34

View File

@ -68,5 +68,6 @@ fn new<'a>(args: &ArgMatches<'a>, conn: &Connection) {
},
)
.expect("Couldn't save instance");
Instance::cache_local(conn);
Instance::create_local_instance_user(conn).expect("Couldn't save local instance user");
}