UpdatePeriod
Function: UpdatePeriod()
function UpdatePeriod(id, name, startDate, endDate): Promise<Response<void>>
Defined in: src/actions/period.tsx:124
Updates an existing period with the specified ID, name, start date, and end date.
Parameters
id
string
The ID of the period to update.
name
string
The new name for the period.
startDate
string
The new start date for the period in ISO format.
endDate
string
The new end date for the period in ISO format.
Returns
Promise<Response<void>>
- A promise that resolves to a response object indicating success or failure.