File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
nodejs-functions/src/handlers/automatic-clock-outs Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const doClockOut = async (context) => {
1111 context . log ( `I am going to check how many entries were not clocked out ${ new Date ( ) } ` ) ;
1212
1313 const { endpoint, key, databaseId } = config ;
14- const client = new CosmosClient ( { endpoint, key} ) ;
14+ const client = new CosmosClient ( { endpoint, key } ) ;
1515 const database = client . database ( databaseId ) ;
1616 const container = database . container ( 'time_entry' ) ;
1717 const timeEntryDao = new TimeEntryDao ( database ) ;
@@ -57,4 +57,6 @@ const findSlackUserId = (users, email) => {
5757 return user ? user . id : null
5858}
5959
60+ doClockOut ( console )
61+
6062module . exports = { doClockOut } ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const doClockOut = async (context) => {
1111 context . log ( `I am going to check how many entries were not clocked out ${ new Date ( ) } ` ) ;
1212
1313 const { endpoint, key, databaseId } = config ;
14- const client = new CosmosClient ( { endpoint, key} ) ;
14+ const client = new CosmosClient ( { endpoint, key } ) ;
1515 const database = client . database ( databaseId ) ;
1616 const container = database . container ( 'time_entry' ) ;
1717 const timeEntryDao = new TimeEntryDao ( database ) ;
You can’t perform that action at this time.
0 commit comments