Skip to content

Commit cc2442b

Browse files
Fix streak calculation in result object
1 parent c2b9df8 commit cc2442b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/apis/apis.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export class APIService {
174174
}
175175

176176
const result = {
177-
streak: streak + 1,
177+
streak: streak,
178178
longest: longestStreak,
179179
total_contributions: totalContributions
180180
};

0 commit comments

Comments
 (0)