This repository was archived by the owner on Dec 19, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed
Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -204,16 +204,27 @@ All endpoints are prefixed with `/api/`
204204 id: 1 ,
205205 issue: ' Property Damage' ,
206206 tenant: ' Renty McRenter' ,
207- senderID : 1 ,
208- tenantID : 2 ,
207+ author_id : 1 ,
208+ tenant_id : 2 ,
209209 assignedUserID: 4 ,
210- sender: " user1 tester" ,
211- assigned: " Mr. Sir" ,
210+ author: " user1 tester" ,
212211 status: " new" ,
213212 urgency: " Low" ,
214213 created_at: " 07-01-2020 21:29:29" ,
215214 updated_at: " 07-08-2020 22:20:29" ,
216215 minsPastUpdate: 745 ,
216+ assigned_staff: [{
217+ archived: false ,
218+ created_at: " 08/05/2021 02:52:30" ,
219+ email: " janice@joinpdx.org" ,
220+ firstName: " Janice" ,
221+ id: 10 ,
222+ lastActive: " 08/05/2021 02:52:30" ,
223+ lastName: " Joinstaff" ,
224+ phone: " 555-555-5555" ,
225+ role: 3 ,
226+ updated_at: " 08/05/2021 02:52:30"
227+ }],
217228 notes: [
218229 {
219230 id: 2 ,
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ def json(self):
4040 "author_id" : self .author_id ,
4141 "tenant_id" : self .tenant_id ,
4242 "assigned_staff" : self .tenant .staff .json (),
43- "sender " : self .author .full_name (),
43+ "author " : self .author .full_name (),
4444 "status" : self .status ,
4545 "minsPastUpdate" : minsPastUpdate ,
4646 "urgency" : self .urgency ,
You can’t perform that action at this time.
0 commit comments