Use new method to get post from thread

pull/73/head
MillenniumEarl 2021-03-02 19:10:09 +01:00
parent 5b8d6cab31
commit 50ff84eb31
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ export default async function getHandiworkInformation<T extends IBasic>(url: str
fillWithPrefixes(hw, thread.prefixes);
// Fetch info from first post
const post = thread.posts.find(p => p.id === 1);
const post = await thread.getPost(1);
fillWithPostData(hw, post.body);
return <T><unknown>hw;