updateCampsite

suspend fun updateCampsite(campsiteId: String, name: String, address: String, maxOccupancyText: String, description: String, rulesPolicies: String, tags: List<String>): Boolean

Updates a Campsite detail information.

Return

true if the campsite was updated successfully, false otherwise.

Parameters

campsiteId

The ID of the campsite to update.

name

The new campsite name.

address

The new address.

maxOccupancyText

The new max occupancy.

description

The new description.

rulesPolicies

The new rules and policies.

tags

The updated list of campsite tags.