Skip to content

Commit 2e76393

Browse files
changed activity json
1 parent 8863b32 commit 2e76393

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/widget/widget.service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ export class WidgetService {
9393
tz: process.env.DATETIME_TIMEZONE,
9494
date: this.getDate(),
9595
},
96-
activity: activity && activity.activities.length !== 0 ? {
96+
current_activity: activity && activity.activities.length !== 0 ? {
97+
editor: activity.activities[0].editor,
9798
file: activity.activities[0].file ?? 'Idling',
9899
workplace: activity.activities[0].workplace ?? 'No workplace',
99100
duration: this.getTimeDiff(new Date(activity.activities[0].start_time))

0 commit comments

Comments
 (0)