style(catalog): biome format fetch options in P5 endpoint fallback
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2074,7 +2074,11 @@ export class PL24Service {
|
||||
for (const candidate of candidatePaths) {
|
||||
try {
|
||||
const cu = `${this.baseUrl}${catalogBase}${candidate}?lang=${this.language}&serviceName=${serviceName}`;
|
||||
const cr = await fetch(cu, { method: "GET", headers, signal: AbortSignal.timeout(15000) });
|
||||
const cr = await fetch(cu, {
|
||||
method: "GET",
|
||||
headers,
|
||||
signal: AbortSignal.timeout(15000),
|
||||
});
|
||||
if (!cr.ok) continue;
|
||||
const cd = (await cr.json()) as Record<string, any>;
|
||||
const cv = this.parseVehicleListResponse(cd, serviceName);
|
||||
|
||||
Reference in New Issue
Block a user