diff options
author | Steve <nilslice@gmail.com> | 2017-02-13 11:06:14 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-13 11:06:14 -0800 |
commit | 4222b04d45b2932022c71eecf909e0e43f5f9d9d (patch) | |
tree | df0a0cc191834d9220fe5a9f952ad61c9527a43e /system/api/push.go | |
parent | 7a85b284dec2bbb462969fb7e9e949b1a2ae720a (diff) | |
parent | 46d7c021d8de124be803b5c10f157c132343ab4e (diff) |
Merge pull request #73 from ponzu-cms/ponzu-dev
[core] Adding support to omit fields from json response, minor code reorganization
Diffstat (limited to 'system/api/push.go')
-rw-r--r-- | system/api/push.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/api/push.go b/system/api/push.go index 5db0a53..b7c5642 100644 --- a/system/api/push.go +++ b/system/api/push.go @@ -23,7 +23,7 @@ func push(res http.ResponseWriter, req *http.Request, pt func() interface{}, dat for i := range values { val := values[i] val.ForEach(func(k, v gjson.Result) bool { - err := pusher.Push(req.URL.Path+v.String(), nil) + err := pusher.Push(v.String(), nil) if err != nil { log.Println("Error during Push of value:", v.String()) } |