KI-AGENT: Mobile TestFlight Build vorbereiten
- EAS-Profil und Scripts für TestFlight ergänzt - Node 22 für Mobile-Builds festgelegt und README aktualisiert - Expo-SDK-Abhängigkeiten für expo-doctor angeglichen
This commit is contained in:
@@ -508,7 +508,7 @@ export async function createCustomerInventoryItem(
|
||||
}
|
||||
|
||||
export async function fetchPlants(token: string, includeArchived = false): Promise<Plant[]> {
|
||||
const plants = await apiRequest<Array<Plant & { description?: unknown }>>('/api/resource/plants', { token });
|
||||
const plants = await apiRequest<(Plant & { description?: unknown })[]>('/api/resource/plants', { token });
|
||||
const normalized = (plants || []).map((plant) => {
|
||||
const legacyDescription = typeof plant.description === 'string'
|
||||
? plant.description
|
||||
|
||||
Reference in New Issue
Block a user