Skip to content

Commit

Permalink
Update getReceivedMails.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
EdamAme-x authored Oct 22, 2024
1 parent b6a0bf7 commit 5be1e87
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/operation/getReceivedMails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export async function getReceivedMails(
const subject = element.querySelector("a b > span")?.innerHTML.trim()
if (!subject) return null;
const container = cleanString(element.querySelector("a div[style] > div[class]")?.innerHTML.trim())
console.log(container)
if (!container) return null;
const splittedContainer = container.split(" | ");
const date = splittedContainer[0];
Expand All @@ -78,4 +77,4 @@ export async function getReceivedMails(
type: "success",
data: data
};
}
}

0 comments on commit 5be1e87

Please sign in to comment.