This is an automated email from the ASF dual-hosted git repository. rubys pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/whimsy.git
commit 23a3f1c8b27866267b469c4c34619169c5f69fe7 Author: Sam Ruby <[email protected]> AuthorDate: Fri Aug 2 17:03:40 2019 -0400 allow reports to be updated --- www/board/agenda/views/actions/post.json.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/board/agenda/views/actions/post.json.rb b/www/board/agenda/views/actions/post.json.rb index f5f1351..f6cd18a 100644 --- a/www/board/agenda/views/actions/post.json.rb +++ b/www/board/agenda/views/actions/post.json.rb @@ -19,9 +19,9 @@ Agenda.update(@agenda, @message) do |agenda| project = ASF::Committee.find(@project).display_name parsed.each do |report| if report['title'] == project - raise "report already posted" unless report['missing'] + raise "report already posted" unless @digest or report['missing'] @attach = report[:attach] - @digest = report['digest'] + @digest ||= report['digest'] end end end
