Skip to content

Commit

Permalink
fix count name
Browse files Browse the repository at this point in the history
  • Loading branch information
fungairino committed Sep 20, 2024
1 parent 13ac019 commit 16e339b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/telemetry/logging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ function makeMatchEntry(
* Returns the number of log entries in the database.
*/
export async function count(): Promise<number> {
return withLoggingDB(async (db) => db.count(ENTRY_OBJECT_STORE), "count");
return withLoggingDB(async (db) => db.count(ENTRY_OBJECT_STORE), count.name);
}

/**
Expand Down

0 comments on commit 16e339b

Please sign in to comment.