FrontendComponentsActivityEditEditParticipantsTileEditParticipantTileEditParticipantTile.handlersFunctions
SavePriceToServer
Function: savePriceToServer()
[object Object]
Defined in: app/components/Activity/Edit/EditParticipantsTile/EditParticipantTile/EditParticipantTile.handlers.tsx:72
Persists a price change to the server using a JSON Patch request. If the update fails, the local price state is reverted to the last known server value.
Parameters
args
Configuration for the patch operation.
activityId
[object Object]
enrollment
setLoading
(loading) => void
setPrice
(price) => void
targetPrice
[object Object]
Returns
Promise<void>
Async
Throws
Throws if the API response contains an error.