mirror of
https://github.com/misskey-dev/summaly.git
synced 2025-05-19 20:47:29 +09:00
Merge pull request #21 from armchair-philosophy/update_general
general: return object isn't assignable to ISummaly
This commit is contained in:
commit
50c88af9ed
@ -14,7 +14,7 @@ client.set('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