initilize keys with jsonobject value on parse error
This commit is contained in:
parent
b8bc70aaa0
commit
fa45ceabc9
|
@ -148,7 +148,7 @@ public class Account extends AbstractEntity {
|
||||||
try {
|
try {
|
||||||
this.keys = new JSONObject(keys);
|
this.keys = new JSONObject(keys);
|
||||||
} catch (final JSONException ignored) {
|
} catch (final JSONException ignored) {
|
||||||
|
this.keys = new JSONObject();
|
||||||
}
|
}
|
||||||
this.avatar = avatar;
|
this.avatar = avatar;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue