From c9dc7199aeedeff6bd9a923d2ebd59147abd3a94 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Wed, 26 Oct 2016 12:41:48 -0700 Subject: debugging --- system/api/external.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'system') 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) -- cgit v1.2.3