1437
This commit is contained in:
1 parent
bdbe559338
commit
b8d721c7ff
1 file changed
+1
-1
@@ -104,7 +104,7 @@ async function fetchAllPages(): Promise<ArtalkPage[]> {
|
|||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
const data = await res.json() as { pages?: ArtalkPage[]; count?: number });
|
const data = await res.json() as { pages?: ArtalkPage[]; count?: number };
|
||||||
console.log("[comment-notify] found", data.pages?.length || 0, "pages (total:", data.count || 0, ")");
|
console.log("[comment-notify] found", data.pages?.length || 0, "pages (total:", data.count || 0, ")");
|
||||||
return data.pages || [];
|
return data.pages || [];
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
Reference in new issue
Block a user