add: await in data filtering logic #50

Merged
bragaz_rexita merged 2 commits from wisdom into main 2026-04-30 08:55:10 +00:00
Showing only changes of commit 3c098d1c69 - Show all commits

View File

@@ -281,7 +281,7 @@ class NotifikasiWaService {
async runReminder() { async runReminder() {
setInterval(async () => { setInterval(async () => {
const now = new Date(); const now = new Date();
let data = this.loadReminder(); let data = await this.loadReminder();
data = data?.filter(async (item) => { data = data?.filter(async (item) => {