Fix seed-db script by passing it the correct admin file path (#8022)
Release Notes: - N/A
This commit is contained in:
parent
f17d0b5729
commit
e27c2fc946
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ struct GitHubUser {
|
||||||
async fn main() {
|
async fn main() {
|
||||||
load_dotenv().expect("failed to load .env.toml file");
|
load_dotenv().expect("failed to load .env.toml file");
|
||||||
|
|
||||||
let mut admin_logins =
|
let mut admin_logins = load_admins("crates/collab/.admins.default.json")
|
||||||
load_admins("./.admins.default.json").expect("failed to load default admins file");
|
.expect("failed to load default admins file");
|
||||||
if let Ok(other_admins) = load_admins("./.admins.json") {
|
if let Ok(other_admins) = load_admins("./.admins.json") {
|
||||||
admin_logins.extend(other_admins);
|
admin_logins.extend(other_admins);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue