updateCampsite

suspend fun updateCampsite(updatedCampsite: Campsite)

Overwrites an existing campsite in the Firestore database with updated data.

Parameters

updatedCampsite

The campsite to be updated. Must have the same campsiteId as the original document.