mirror of
https://github.com/misskey-dev/summaly.git
synced 2025-05-11 08:37:19 +09:00
general: return object isn't assignable to ISummaly
general's return object doesn't have 'url'.
This commit is contained in:
parent
cf1b1c5b1a
commit
bb79110911
@ -14,7 +14,7 @@ client.timeout = 10000;
|
|||||||
|
|
||||||
import ISummary from './isummary';
|
import ISummary from './isummary';
|
||||||
|
|
||||||
export default async (url: URL.Url): Promise<ISummary> => {
|
export default async (url: URL.Url) => {
|
||||||
const res = await client.fetch(url.href);
|
const res = await client.fetch(url.href);
|
||||||
|
|
||||||
if (res.error) {
|
if (res.error) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user