Skip to content

Commit

Permalink
Add explicit missing data defaults for user and session id
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellrgn committed Jan 31, 2025
1 parent 2c0154a commit fb253cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class Logger {
session_id: string;
dest: string;

private constructor(user_id: string = "", session_id: string = "") {
private constructor(user_id: string = "unknown", session_id: string = "unknown") {
this.dest = LOG_URL || "";
this.user_id = user_id;
this.session_id = session_id;
Expand Down

0 comments on commit fb253cb

Please sign in to comment.