Skip to content

Commit e53587a

Browse files
committed
Add null to Time constructor
1 parent adb310c commit e53587a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/hasTimes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class hasTimes extends Base {
127127
let difference = this.data.time_stats.total_time_spent - totalTimeSpent,
128128
note = Object.assign({noteable_type: this._typeSingular}, this.data);
129129

130-
times.unshift(new Time(Time.toHumanReadable(difference, this.config.get('hoursPerDay')), note, this, this.config));
130+
times.unshift(new Time(Time.toHumanReadable(difference, this.config.get('hoursPerDay')), null, note, this, this.config));
131131

132132
resolve();
133133
}));

0 commit comments

Comments
 (0)