diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-26 12:41:48 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-26 12:41:48 -0700 |
commit | c9dc7199aeedeff6bd9a923d2ebd59147abd3a94 (patch) | |
tree | b3e8b003a48cba57e2d318f9ce257154634f9778 /system/api/external.go | |
parent | db0c05fa1f0b270fc00c9bcb190a03a5389df061 (diff) |
debugging
Diffstat (limited to 'system/api/external.go')
-rw-r--r-- | system/api/external.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/api/external.go b/system/api/external.go index 111204e..c437d33 100644 --- a/system/api/external.go +++ b/system/api/external.go @@ -26,6 +26,8 @@ func externalPostsHandler(res http.ResponseWriter, req *http.Request) { return } + log.Println("type:", t) + log.Println("of:", content.Types) p, found := content.Types[t] if !found { log.Println("Attempt to submit content", t, "by", req.RemoteAddr) |