catalog prices fix

This commit is contained in:
54CHA
2025-07-17 21:22:45 +03:00
parent 5fd2cf1b8c
commit b6f9d017d6
4 changed files with 56 additions and 59 deletions

View File

@ -1,6 +1,6 @@
import { PartsIndexCatalogsResponse, PartsIndexGroup, PartsIndexEntityInfoResponse } from '@/types/partsindex';
const PARTS_INDEX_API_BASE = 'https://api.parts-index.com';
const PARTS_INDEX_API_BASE = process.env.PARTSAPI_URL+"/v1" || 'https://api.parts-index.com/v1';
const API_KEY = 'PI-E1C0ADB7-E4A8-4960-94A0-4D9C0A074DAE';
class PartsIndexService {