summaryrefslogtreecommitdiff
path: root/system/api/handlers.go
diff options
context:
space:
mode:
authorSteve <nilslice@gmail.com>2016-10-17 21:31:59 -0700
committerGitHub <noreply@github.com>2016-10-17 21:31:59 -0700
commit2f3985491363dc0658ad8cf3a415a77c1825a67a (patch)
treefa398a23c9e247e9cc7515898f0f6ddabf392f64 /system/api/handlers.go
parent9c8ed5c6a88901bf139bf9bb7b884b222c6053ce (diff)
parent30b47784c5889539a65cc292066a400aa19c35d0 (diff)
Merge pull request #2 from bosssauce/ponzu-dev
[core] move content.Item to unix-y Timestamp and Updated fields
Diffstat (limited to 'system/api/handlers.go')
-rw-r--r--system/api/handlers.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/api/handlers.go b/system/api/handlers.go
index 5fb79bc..0c9139f 100644
--- a/system/api/handlers.go
+++ b/system/api/handlers.go
@@ -32,6 +32,8 @@ func postsHandler(res http.ResponseWriter, req *http.Request) {
// num := q.Get("num")
// page := q.Get("page")
+ // TODO: inplement time-based ?after=time.Time, ?before=time.Time between=time.Time|time.Time
+
if t == "" {
res.WriteHeader(http.StatusBadRequest)
return