whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: ensure podling status is non null
Date Sat, 10 Jun 2017 13:10:20 GMT
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


The following commit(s) were added to refs/heads/master by this push:
     new cf054fd  ensure podling status is non null
cf054fd is described below

commit cf054fd55ad12a8bc3b7ff9eae1f6e2e4722f6c5
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Sat Jun 10 09:09:49 2017 -0400

    ensure podling status is non null
---
 www/roster/models/ppmc.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/roster/models/ppmc.rb b/www/roster/models/ppmc.rb
index d69571b..0a8d3cb 100644
--- a/www/roster/models/ppmc.rb
+++ b/www/roster/models/ppmc.rb
@@ -47,7 +47,7 @@ class PPMC
       }
     end
 
-    statusInfo = ppmc.podlingStatus
+    statusInfo = ppmc.podlingStatus || {news: []}
 
     response = {
       id: id,

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message