Fix seed-db script by passing it the correct admin file path (#8022)

Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov 2024-02-19 18:53:17 +02:00 committed by GitHub
parent f17d0b5729
commit e27c2fc946
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,8 +18,8 @@ struct GitHubUser {
async fn main() {
load_dotenv().expect("failed to load .env.toml file");
let mut admin_logins =
load_admins("./.admins.default.json").expect("failed to load default admins file");
let mut admin_logins = load_admins("crates/collab/.admins.default.json")
.expect("failed to load default admins file");
if let Ok(other_admins) = load_admins("./.admins.json") {
admin_logins.extend(other_admins);
}