GetPeriods
Function: GetPeriods()
function GetPeriods(): Promise<Response<object[]>>
Defined in: src/actions/period.tsx:15
Fetches the list of periods from the backend.
Returns
Promise<Response<object[]>>
- A promise that resolves to a response object containing the list of periods or an error message.