diff --git a/src/services/laconicService.ts b/src/services/laconicService.ts index d939247..3d27ded 100644 --- a/src/services/laconicService.ts +++ b/src/services/laconicService.ts @@ -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' } })