Skip to content

Commit

Permalink
Fix renamed createDB method name
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhamlett committed Oct 2, 2024
1 parent 88cd994 commit fa69a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ browser.tabs.onUpdated.addListener(async (tabId, changeInfo) => {
* https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API
*/
self.addEventListener('activate', async () => {
await WakaTimeCore.createDB();
await WakaTimeCore.db();
});

browser.runtime.onMessage.addListener(async (request: { task: string }, sender) => {
Expand Down

0 comments on commit fa69a52

Please sign in to comment.