mirror of
https://github.com/studiokaiji/nostr-webhost.git
synced 2026-01-31 12:44:42 +01:00
不要なprintを削除
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user