diff --git a/api_tests/src/shared.ts b/api_tests/src/shared.ts index f50b64e64..a1868f8f2 100644 --- a/api_tests/src/shared.ts +++ b/api_tests/src/shared.ts @@ -291,7 +291,7 @@ export async function searchPostLocal( /// wait for a post to appear locally without pulling it export async function waitForPost( - api: API, + api: LemmyHttp, post: Post, checker: (t: PostView | undefined) => boolean = p => !!p, ) {