Support Loading Archived / Completed Tasks, Fix Assignee bug #49

This commit is contained in:
Mo Tarbin 2024-12-15 18:10:50 -05:00
parent 7ea0a03d53
commit 88c11eeeea
5 changed files with 108 additions and 18 deletions

View file

@ -59,6 +59,12 @@ const GetChores = () => {
headers: HEADERS(),
})
}
const GetArchivedChores = () => {
return Fetch(`${API_URL}/chores/archived`, {
method: 'GET',
headers: HEADERS(),
})
}
const GetChoreByID = id => {
return Fetch(`${API_URL}/chores/${id}`, {
@ -356,6 +362,7 @@ export {
DeleteThing,
GetAllCircleMembers,
GetAllUsers,
GetArchivedChores,
GetChoreByID,
GetChoreDetailById,
GetChoreHistory,