Support Loading Archived / Completed Tasks, Fix Assignee bug #49
This commit is contained in:
parent
7ea0a03d53
commit
88c11eeeea
5 changed files with 108 additions and 18 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue