mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Remove async
This commit is contained in:
parent
05373ba3c7
commit
49092b707d
1 changed files with 1 additions and 1 deletions
|
|
@ -352,7 +352,7 @@ type Metadata = {
|
|||
previewImage: string
|
||||
}
|
||||
|
||||
export const parsePageMetadata = async (html: string): Promise<Metadata | undefined> => {
|
||||
export const parsePageMetadata = (html: string): Metadata | undefined => {
|
||||
try {
|
||||
const window = new JSDOM(html).window
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue