We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1857c3b commit 1073c07Copy full SHA for 1073c07
packages/core/src/web-handlers.ts
@@ -1,4 +1,4 @@
1
-import { Embed } from "./embeds";
+import { Embed, UrlMetadata } from "./embeds";
2
import {
3
AddEmbedActionResolverEvents,
4
AddEmbedActionResolverInit,
@@ -23,7 +23,7 @@ export const fetchUrlMetadata = (api_url: string) => {
23
24
const reqJson = await req.json();
25
26
- return reqJson;
+ return reqJson as UrlMetadata;
27
};
28
29
0 commit comments