Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: getLastWeekTimestamp not found

thecodrr53726d680efc
diff --git a/packages/core/api/database.js b/packages/core/api/database.js
index 6e3fa8670..adfd3f09b 100644
--- a/packages/core/api/database.js
+++ b/packages/core/api/database.js
@@ -3,7 +3,11 @@ import fuzzysearch from "fuzzysearch";
var tfun = require("transfun/transfun.js").tfun;
tfun = global.tfun;
import { extractValues, groupBy } from "../utils";
-import { getWeekGroupFromTimestamp, months } from "../utils/date";
+import {
+ getWeekGroupFromTimestamp,
+ months,
+ getLastWeekTimestamp
+} from "../utils/date";
const KEYS = {
notes: "notes",