updateEntity

Updates the name of the attraction entity.

Creates a new DiscoveryAttraction with the updated name and null prismicImage.

Return

A new DiscoveryAttraction with the updated name.

Parameters

name

The new name for the attraction.