From 505d9a85635028a6768ac483d805f3426a1a67f5 Mon Sep 17 00:00:00 2001 From: studiokaiji Date: Fri, 10 Nov 2023 13:05:50 +0900 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E8=A6=81=E3=81=AAprint=E3=82=92?= =?UTF-8?q?=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hostr/cmd/tools/getContentType.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/hostr/cmd/tools/getContentType.go b/hostr/cmd/tools/getContentType.go index 1b97a3a..379ddc0 100644 --- a/hostr/cmd/tools/getContentType.go +++ b/hostr/cmd/tools/getContentType.go @@ -15,9 +15,6 @@ func GetContentType(event *nostr.Event) (string, bool, error) { contentTypeTag := event.Tags.GetFirst([]string{"type"}) contentType := contentTypeTag.Value() - fmt.Println(*event) - fmt.Println(*contentTypeTag) - if len(contentType) < 1 { return "", true, fmt.Errorf("Content-Type not specified") }