update constructor of loaders to take a system id

This commit is contained in:
2025-04-06 10:24:55 -07:00
parent 4ea43ff21f
commit d607a3742c
4 changed files with 5 additions and 4 deletions

View File

@@ -15,10 +15,10 @@ export class ApiResponseError extends Error {
* which inherit from `IEntityWithId`.
*/
export class ApiBasedShuttleRepositoryLoader implements ShuttleRepositoryLoader {
systemId = "263";
baseUrl = "https://passiogo.com/mapGetData.php";
constructor(
public systemId: string,
public repository: ShuttleGetterSetterRepository,
) {
}