Remove async
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user