Skip to content

Commit 4b332a8

Browse files
authored
Merge pull request #351 from ioet/350-fix-404-not-found
fix: #350 clock out active entry
2 parents 0d94de8 + 82042e7 commit 4b332a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/modules/time-clock/store/entry.effects.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export class EntryEffects {
4545
} else {
4646
const endDate = new Date(activeEntry.start_date);
4747
endDate.setHours(23, 59, 59);
48-
return new actions.UpdateActiveEntry({ d: activeEntry.id, end_date: endDate.toISOString() });
48+
return new actions.UpdateActiveEntry({ id: activeEntry.id, end_date: endDate.toISOString() });
4949
}
5050
}
5151
}),

0 commit comments

Comments
 (0)