sumocoders/Teamleader — pull request #18 by turanct (2014-09-25 15:27:03+00:00)
Title: Bugfix: The api doesn't return deal id, so we'll fake it.

This is a bugfix: The api doesn't return the deal's id when we ask
for a specific deal using this endpoint. To be able to return a
complete Deal Entity, it needs to have its id set. We will just
fake the id by inserting it ourselves. This if block may be removed
when the api returns an id, and everything should keep working.