mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
in RepositoryDataLoader, fix hardcoded value
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user