Allow null as a value of the thumbnail_url attribute

This commit is contained in:
daniel oeh 2012-08-02 22:18:40 +02:00
parent bdbdc94448
commit c9abaa970c
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ public class MiroService {
long id = content.getLong("id"); long id = content.getLong("id");
String name = content.getString("name"); String name = content.getString("name");
String description = content.getString("description"); String description = content.getString("description");
String thumbnailUrl = content.getString("thumbnail_url"); String thumbnailUrl = content.optString("thumbnail_url");
String downloadUrl = content.getString("url"); String downloadUrl = content.getString("url");
String websiteUrl = content.getString("website_url"); String websiteUrl = content.getString("website_url");
if (!withItems) { if (!withItems) {