diff --git a/api/comment_list.go b/api/comment_list.go index 52bab41..90bcd2a 100644 --- a/api/comment_list.go +++ b/api/comment_list.go @@ -6,7 +6,8 @@ import ( ) func commentList(commenterHex string, domain string, path string, includeUnapproved bool) ([]comment, map[string]commenter, error) { - if commenterHex == "" || domain == "" || path == "" { + // path can be empty + if commenterHex == "" || domain == "" { return nil, nil, errorMissingField }