in RepositoryDataLoader, fix hardcoded value

This commit is contained in:
2025-01-08 16:15:59 -08:00
parent 97c3376cf7
commit 3829286ec4

View File

@@ -122,13 +122,13 @@ export class RepositoryDataLoader {
// Fetch from the API
// Pass JSON output into two different methods to update repository
const systems = await this.repository.getSystems();
await Promise.all(systems.map(async (system: any) => {
await Promise.all(systems.map(async (system: ISystem) => {
const params = {
getStops: "2",
};
const formDataJsonObject = {
"s0": "263",
"s0": system.id,
"sA": 1
};
const formData = new FormData();