add: await in data filtering logic
This commit is contained in:
@@ -281,7 +281,7 @@ class NotifikasiWaService {
|
||||
async runReminder() {
|
||||
setInterval(async () => {
|
||||
const now = new Date();
|
||||
let data = this.loadReminder();
|
||||
let data = await this.loadReminder();
|
||||
|
||||
data = data?.filter(async (item) => {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user