Skip to content

Commit

Permalink
chore: fix some comments (bluesky-social#2584)
Browse files Browse the repository at this point in the history
Signed-off-by: tsinghuacoder <[email protected]>
  • Loading branch information
tsinghuacoder authored Jun 21, 2024
1 parent bd8c9eb commit 15cc6ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/bsky/src/api/app/bsky/actor/searchActors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const skeleton = async (inputs: SkeletonFnInput<Context, Params>) => {
// add hits total

if (ctx.searchAgent) {
// @NOTE cursors wont change on appview swap
// @NOTE cursors won't change on appview swap
const { data: res } =
await ctx.searchAgent.api.app.bsky.unspecced.searchActorsSkeleton({
q: term,
Expand Down
2 changes: 1 addition & 1 deletion packages/bsky/src/api/app/bsky/feed/searchPosts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const skeleton = async (inputs: SkeletonFnInput<Context, Params>) => {
const { ctx, params } = inputs

if (ctx.searchAgent) {
// @NOTE cursors wont change on appview swap
// @NOTE cursors won't change on appview swap
const { data: res } =
await ctx.searchAgent.api.app.bsky.unspecced.searchPostsSkeleton({
q: params.q,
Expand Down
2 changes: 1 addition & 1 deletion packages/ozone/tests/server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe('server', () => {
})

it('healthcheck fails when database is unavailable.', async () => {
// destory sequencer to release connection that would prevent the db from closing
// destroy sequencer to release connection that would prevent the db from closing
await ozone.ctx.sequencer.destroy()
await ozone.ctx.db.close()
let error: AxiosError
Expand Down

0 comments on commit 15cc6ff

Please sign in to comment.