From 37eddfbc3d376c8e0c16528feecbca172b3f2e5f Mon Sep 17 00:00:00 2001 From: Devin Ivy Date: Wed, 7 Feb 2024 16:54:49 -0500 Subject: [PATCH] fix/tidy --- packages/pds/src/api/app/bsky/actor/getSuggestions.ts | 2 +- packages/pds/src/api/app/bsky/actor/searchActorsTypeahead.ts | 2 +- packages/pds/src/pipethrough.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/pds/src/api/app/bsky/actor/getSuggestions.ts b/packages/pds/src/api/app/bsky/actor/getSuggestions.ts index 74d69aee453..548d4f1611e 100644 --- a/packages/pds/src/api/app/bsky/actor/getSuggestions.ts +++ b/packages/pds/src/api/app/bsky/actor/getSuggestions.ts @@ -9,7 +9,7 @@ export default function (server: Server, ctx: AppContext) { const requester = auth.credentials.did return pipethrough( ctx.cfg.bskyAppView.url, - 'app.bsky.feed.getSuggestions', + 'app.bsky.actor.getSuggestions', params, await ctx.appviewAuthHeaders(requester), ) diff --git a/packages/pds/src/api/app/bsky/actor/searchActorsTypeahead.ts b/packages/pds/src/api/app/bsky/actor/searchActorsTypeahead.ts index d3354312883..dbf57900509 100644 --- a/packages/pds/src/api/app/bsky/actor/searchActorsTypeahead.ts +++ b/packages/pds/src/api/app/bsky/actor/searchActorsTypeahead.ts @@ -9,7 +9,7 @@ export default function (server: Server, ctx: AppContext) { const requester = auth.credentials.did return pipethrough( ctx.cfg.bskyAppView.url, - 'app.bsky.feed.searchActorsTypeahead', + 'app.bsky.actor.searchActorsTypeahead', params, await ctx.appviewAuthHeaders(requester), ) diff --git a/packages/pds/src/pipethrough.ts b/packages/pds/src/pipethrough.ts index fd6f6235379..a4c11856502 100644 --- a/packages/pds/src/pipethrough.ts +++ b/packages/pds/src/pipethrough.ts @@ -55,7 +55,7 @@ export const constructUrl = ( continue } else if (Array.isArray(value)) { for (const item of value) { - uri.searchParams.set(key, String(item)) + uri.searchParams.append(key, String(item)) } } else { uri.searchParams.set(key, String(value))