parent
6d9473b277
commit
9e6a235e62
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ public class Entry {
|
|||
}
|
||||
|
||||
public Entry (JSONObject jsonObj) throws JSONException {
|
||||
this.secret = new Base32().decode(jsonObj.getString(JSON_SECRET));
|
||||
this.secret = new Base32().decode(jsonObj.getString(JSON_SECRET).toUpperCase());
|
||||
this.label = jsonObj.getString(JSON_LABEL);
|
||||
this.period = jsonObj.getInt(JSON_PERIOD);
|
||||
|
||||
|
|
Loading…
Reference in a new issue