Skip to content

Commit

Permalink
Remove Count Variable in sessionHelper.ts (#13082)
Browse files Browse the repository at this point in the history
Remove count variable in sessionHelper.ts since this variable is no
longer being used
  • Loading branch information
tianzhu007 authored Nov 23, 2022
1 parent 699e8dc commit c2e7ca1
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ async function updateExistingSession(
documentsCollection: ICollection<IDocument>,
sessionStickinessDurationMs: number,
lumberjackProperties: Record<string, any>,
count: number,
): Promise<ISession> {
let updatedDeli: string | undefined;
let updatedScribe: string | undefined;
Expand Down Expand Up @@ -223,7 +222,6 @@ export async function getSession(
documentId: string,
documentsCollection: ICollection<IDocument>,
sessionStickinessDurationMs: number = defaultSessionStickinessDurationMs,
count: number = 0,
): Promise<ISession> {
const lumberjackProperties = getLumberBaseProperties(documentId, tenantId);

Expand Down Expand Up @@ -269,7 +267,6 @@ export async function getSession(
documentsCollection,
sessionStickinessDurationMs,
lumberjackProperties,
count,
);
return convertSessionToFreshSession(updatedSession, lumberjackProperties);
}

0 comments on commit c2e7ca1

Please sign in to comment.