This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 463f360 Docco
463f360 is described below
commit 463f36099724f72040dc867c1cdfaf5e819612ed
Author: Sebb <[email protected]>
AuthorDate: Sun Sep 27 13:42:03 2020 +0100
Docco
---
www/members/nominations.cgi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/www/members/nominations.cgi b/www/members/nominations.cgi
index 2ed4788..0a86ee1 100755
--- a/www/members/nominations.cgi
+++ b/www/members/nominations.cgi
@@ -144,8 +144,9 @@ _html do
end
# produce JSON output of reports
+# N.B. This is activated if the ACCEPT header references 'json'
_json do
- _ reports do |mail|
+ _ reports do |mail| # TODO: reports is not defined
_subject mail.subject
_link MBOX + URI.escape('<' + mail.message_id + '>')
_missing missing.any? {|title| mail.subject.downcase =~ /\b#{title}\b/}