{"action":"closed","issue":{"url":"https://api.github.com/repos/mgp25/Chat-API-NET/issues/125","repository_url":"https://api.github.com/repos/mgp25/Chat-API-NET","labels_url":"https://api.github.com/repos/mgp25/Chat-API-NET/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/mgp25/Chat-API-NET/issues/125/comments","events_url":"https://api.github.com/repos/mgp25/Chat-API-NET/issues/125/events","html_url":"https://github.com/mgp25/Chat-API-NET/issues/125","id":122064143,"number":125,"title":"There's \"debug code\" in the code","user":{"login":"fvillarDev","id":8356080,"avatar_url":"https://avatars.githubusercontent.com/u/8356080?v=3","gravatar_id":"","url":"https://api.github.com/users/fvillarDev","html_url":"https://github.com/fvillarDev","followers_url":"https://api.github.com/users/fvillarDev/followers","following_url":"https://api.github.com/users/fvillarDev/following{/other_user}","gists_url":"https://api.github.com/users/fvillarDev/gists{/gist_id}","starred_url":"https://api.github.com/users/fvillarDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvillarDev/subscriptions","organizations_url":"https://api.github.com/users/fvillarDev/orgs","repos_url":"https://api.github.com/users/fvillarDev/repos","events_url":"https://api.github.com/users/fvillarDev/events{/privacy}","received_events_url":"https://api.github.com/users/fvillarDev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-14T15:23:07Z","updated_at":"2016-03-22T06:48:44Z","closed_at":"2016-03-22T06:48:44Z","body":"Download the latest version and in method \"SendSetPhoto\" in WhatsAppApi / WhatsApp.cs there's this line of code:\r\n\r\n//debug\r\n   System.IO.File.WriteAllBytes(\"pic.jpg\", bytes);\r\n   System.IO.File.WriteAllBytes(\"picthumb.jpg\", thumbnailBytes);\r\n\r\nIt throws error if any of the .jpg does not exists"}}