Skip to content

Commit

Permalink
refactor: Remove lastIndexedAt from OG interface
Browse files Browse the repository at this point in the history
  • Loading branch information
bigint committed Mar 4, 2025
1 parent 9be909a commit eb2f523
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion apps/api/src/helpers/oembed/getMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const getMetadata = async (url: string): Promise<null | OG> => {
favicon: getFavicon(url),
html: generateIframe(getEmbedUrl(document), url),
image: image,
lastIndexedAt: new Date().toISOString(),
site: getSite(document),
title: getTitle(document),
url
Expand Down
1 change: 0 additions & 1 deletion packages/types/misc.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export interface OG {
favicon: null | string;
html: null | string;
image: null | string;
lastIndexedAt?: string;
site: null | string;
title: null | string;
url: string;
Expand Down

0 comments on commit eb2f523

Please sign in to comment.