mirror of https://github.com/LemmyNet/lemmy.git
fix after merge
parent
31f3677270
commit
fe40adfc39
|
@ -291,7 +291,7 @@ export async function searchPostLocal(
|
||||||
|
|
||||||
/// wait for a post to appear locally without pulling it
|
/// wait for a post to appear locally without pulling it
|
||||||
export async function waitForPost(
|
export async function waitForPost(
|
||||||
api: API,
|
api: LemmyHttp,
|
||||||
post: Post,
|
post: Post,
|
||||||
checker: (t: PostView | undefined) => boolean = p => !!p,
|
checker: (t: PostView | undefined) => boolean = p => !!p,
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in New Issue