From 675677064933f51f783ad6f1f786268cb3c6c4e5 Mon Sep 17 00:00:00 2001 From: jason-mint Date: Wed, 5 Sep 2018 11:13:53 +0800 Subject: [PATCH] url misspell & delete space --- templates/_footer.html | 2 +- types/types.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/_footer.html b/templates/_footer.html index f70efe9..6f016ca 100644 --- a/templates/_footer.html +++ b/templates/_footer.html @@ -1,3 +1,3 @@ \ No newline at end of file diff --git a/types/types.go b/types/types.go index 9fb1e29..82dcfed 100644 --- a/types/types.go +++ b/types/types.go @@ -17,9 +17,9 @@ type Task struct { Category string `json:"category"` Referer string `json:"referer,omitempty"` Comments []Comment `json:"comments,omitempty"` - IsOverdue bool `json:"isoverdue, omitempty"` - IsHidden int `json:"ishidden, omitempty` - CompletedMsg string `json:"ishidden, omitempty"` + IsOverdue bool `json:"isoverdue,omitempty"` + IsHidden int `json:"ishidden,omitempty` + CompletedMsg string `json:"ishidden,omitempty"` } type Tasks []Task