diff options
| author | bobzel <zzzman@gmail.com> | 2024-04-23 16:20:08 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-04-23 16:20:08 -0400 |
| commit | 9e809f8748d1812bb03ec6471aa6f97467f8f75a (patch) | |
| tree | 6657f2290e1c1a10456a32d2e1462981f461c8d0 /src/server/DashStats.ts | |
| parent | 939e18624af4252551f38c43335ee8ef0acd144c (diff) | |
fixes for rich text menu updates and setting parameters on text doc vs within in RTF. Lots of lint cleanup.
Diffstat (limited to 'src/server/DashStats.ts')
| -rw-r--r-- | src/server/DashStats.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server/DashStats.ts b/src/server/DashStats.ts index 485ab9f99..808d2c6f2 100644 --- a/src/server/DashStats.ts +++ b/src/server/DashStats.ts @@ -1,7 +1,6 @@ import { cyan, magenta } from 'colors'; import { Response } from 'express'; import * as fs from 'fs'; -import SocketIO from 'socket.io'; import { socketMap, timeMap, userOperations } from './SocketData'; /** @@ -242,7 +241,7 @@ export namespace DashStats { * @param username the username in the format of "username@domain.com logged in" * @param socket the websocket associated with the current connection */ - export function logUserLogin(username: string | undefined, socket: SocketIO.Socket) { + export function logUserLogin(username: string | undefined) { if (!(username === undefined)) { const currentDate = new Date(); console.log(magenta(`User ${username.split(' ')[0]} logged in at: ${currentDate.toISOString()}`)); @@ -267,7 +266,7 @@ export namespace DashStats { * @param username the username in the format of "username@domain.com logged in" * @param socket the websocket associated with the current connection. */ - export function logUserLogout(username: string | undefined, socket: SocketIO.Socket) { + export function logUserLogout(username: string | undefined) { if (!(username === undefined)) { const currentDate = new Date(); |
