Skip to content

Commit

Permalink
mark variable as (currently) unused
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowans committed Sep 6, 2023
1 parent 57d3e07 commit 2a4d65b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion database/cleanupDatabase.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export declare function cleanupDatabase(sessionUser: EmileUser): number;
export declare function cleanupDatabase(_sessionUser: EmileUser): number;
2 changes: 1 addition & 1 deletion database/cleanupDatabase.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const deleteSql = [
`delete from Users
where recordDelete_timeMillis <= ?`
];
export function cleanupDatabase(sessionUser) {
export function cleanupDatabase(_sessionUser) {
const emileDB = sqlite(databasePath);
const recordDeleteTimeMillis = Date.now() - deleteAgeDays * 86400 * 1000;
let deleteCount = 0;
Expand Down
2 changes: 1 addition & 1 deletion database/cleanupDatabase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const deleteSql = [
where recordDelete_timeMillis <= ?`
]

export function cleanupDatabase(sessionUser: EmileUser): number {
export function cleanupDatabase(_sessionUser: EmileUser): number {
const emileDB = sqlite(databasePath)

const recordDeleteTimeMillis = Date.now() - deleteAgeDays * 86_400 * 1000
Expand Down

0 comments on commit 2a4d65b

Please sign in to comment.