This commit is contained in:
zramsay 2025-03-14 14:07:56 -04:00
parent 2fa41d75b2
commit cb0d83d107

View File

@ -13,7 +13,7 @@ interface LaconicAnimalRecord {
description: string
imageUrl: string
portalName: string
userId: string // Single, consistent way to include userId
contributor: string // Single, consistent way to include userId as contributor
}
}
@ -39,7 +39,7 @@ export async function publishAnimalRecord(
description,
imageUrl,
portalName,
userId // Consistent place for userId
contributor: userId // Consistent place for userId as contributor
}
}
@ -65,7 +65,7 @@ export async function publishAnimalRecord(
location: { latitude, longitude },
imageUrl: imageUrl.substring(0, 30) + '...', // Truncate for log readability
userId,
yamlSize: yaml.stringify(record).length
recordType: 'AnimalRecord'
}
})