RooTicket.vala
authorAlan Knowles <alan@roojs.com>
Tue, 30 Oct 2018 09:40:21 +0000 (17:40 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 30 Oct 2018 09:40:21 +0000 (17:40 +0800)
RooTicket.vala

index 127e367..c419664 100644 (file)
@@ -22,16 +22,16 @@ class RooTicket : Object
     }
        public Gee.ArrayList<RooTicket> tickets; // only available for singletonn.
 
-       public int id;
+       public string  id; // not really important that they are numbers..
        public string summary;
        public string description;
        public string project_id_name;
 
 
 
-       public void addTicket(JSON.Object object)
+       public void addTicket(JSON.Object t)
        {
-       
+               this.id = t.get_string_member("id");
        }