Skip to content
Snippets Groups Projects
Commit 601f95e4 authored by jurgenhaas's avatar jurgenhaas
Browse files

Bug fix

parent 3531fd94
Branches
Tags
No related merge requests found
......@@ -29,6 +29,8 @@ TeamWorkTrackerSource.prototype.poll = function() {
request
.get(url,
function(error, response, body) {
if (error || response.statusCode !== 200) return;
var res = JSON.parse(body);
source.debug(body);
source.readItems(res.activity, true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment