From 11ec0f58cd40cd42c5321d41e01f2e027a3d8dd7 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 30 Oct 2018 17:40:21 +0800 Subject: [PATCH] RooTicket.vala --- RooTicket.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RooTicket.vala b/RooTicket.vala index 127e367c..c4196645 100644 --- a/RooTicket.vala +++ b/RooTicket.vala @@ -22,16 +22,16 @@ class RooTicket : Object } public Gee.ArrayList 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"); } -- 2.39.2