Skip to content

Commit

Permalink
Fix an issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
azenla committed Sep 2, 2014
1 parent 53d78cc commit a6e459a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/src/common/repo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ class Repository implements ProvidesJSON<Map<String, dynamic>> {
Future<Hook> createHook(CreateHookRequest request) {
return github.postJSON("/repos/${fullName}/hooks", convert: (g, i) => Hook.fromJSON(g, fullName, i), body: request.toJSON());
}



/**
* Creates a Release based on the [request].
Expand Down
2 changes: 1 addition & 1 deletion lib/src/common/stats.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class ContributorWeekStatistics {
..additions = input['a']
..deletions = input['d']
..commits = input['c']
..start = parseDateTime(input['w']);
..start = new DateTime.fromMillisecondsSinceEpoch(int.parse(input['w']));
}
}

Expand Down

0 comments on commit a6e459a

Please sign in to comment.