不要なprintを削除

This commit is contained in:
studiokaiji
2023-11-10 13:05:50 +09:00
parent 0a0a21969b
commit 505d9a8563

View File

@@ -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")
}