Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions backend/database/queries/auth-queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ export interface DBAuthSession {
expires_at: string;
created_at: string;
last_active_at: string;
user_agent?: string | null;
ip_address?: string | null;
device_name?: string | null;
last_user_agent?: string | null;
last_ip_address?: string | null;
}

export interface DBInviteToken {
Expand Down
7 changes: 6 additions & 1 deletion backend/http/files-upload.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@ beforeAll(async () => {
token_hash: hashToken(testToken),
expires_at: expiresAt,
created_at: new Date().toISOString(),
last_active_at: new Date().toISOString()
last_active_at: new Date().toISOString(),
user_agent: null,
ip_address: null,
device_name: null,
last_user_agent: null,
last_ip_address: null
});

// Create test project
Expand Down
7 changes: 6 additions & 1 deletion backend/mcp/internal/remote-server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ beforeAll(async () => {
token_hash: hashToken(sessionToken),
expires_at: new Date(Date.now() + 24 * 60 * 60 * 1000).toISOString(),
created_at: new Date().toISOString(),
last_active_at: new Date().toISOString()
last_active_at: new Date().toISOString(),
user_agent: null,
ip_address: null,
device_name: null,
last_user_agent: null,
last_ip_address: null
});
});

Expand Down
Loading