mirror of
https://github.com/mito-systems/ranger-app.git
synced 2026-03-06 12:54:08 +00:00
ok
This commit is contained in:
parent
2fa41d75b2
commit
cb0d83d107
@ -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'
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user