Skip to content

Commit

Permalink
fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms committed Jan 5, 2024
1 parent 83a0c23 commit 6ef1a9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/dev-env/src/bsky.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export class TestBsky {
await server.start()

// manually process labels in dev-env (in network.processAll)
ingester.ctx.labelSubscription.destroy()
ingester.ctx.labelSubscription?.destroy()

return new TestBsky(url, port, server, indexer, ingester)
}
Expand Down Expand Up @@ -240,7 +240,7 @@ export async function getIngester(
})
await db.migrateToLatestOrThrow()
const ingester = await bsky.BskyIngester.create({ cfg, db, redis })
await ingester.ctx.labelSubscription.destroy()
await ingester.ctx.labelSubscription?.destroy()
return ingester
}

Expand Down

0 comments on commit 6ef1a9b

Please sign in to comment.