rework endpoints and enable setting custom marketplace urls

This commit is contained in:
Matt Hill
2021-07-14 16:43:25 -06:00
committed by Aiden McClelland
parent 7253cd002e
commit c4a5cf1c51
24 changed files with 397 additions and 439 deletions

View File

@@ -5,8 +5,8 @@ import { ConfigService } from '../config.service'
export function ApiServiceFactory (config: ConfigService, http: HttpService) {
if (config.mocks.enabled) {
return new MockApiService(http)
return new MockApiService(config, http)
} else {
return new LiveApiService(http)
return new LiveApiService(config, http)
}
}