Add Support for Activities , Initial Support for Completion Window and points
This commit is contained in:
parent
cd29da9168
commit
27a47a0c1f
5 changed files with 90 additions and 15 deletions
|
@ -36,7 +36,7 @@ func (h *API) GetAllChores(c *gin.Context) {
|
|||
c.JSON(401, gin.H{"error": "Unauthorized"})
|
||||
return
|
||||
}
|
||||
chores, err := h.choreRepo.GetChores(c, user.CircleID, user.ID)
|
||||
chores, err := h.choreRepo.GetChores(c, user.CircleID, user.ID, false)
|
||||
if err != nil {
|
||||
c.JSON(500, gin.H{"error": err.Error()})
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue