Skip to content

Commit

Permalink
fix/tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
devinivy committed Feb 7, 2024
1 parent 56c9879 commit 37eddfb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/pds/src/api/app/bsky/actor/getSuggestions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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),
)
Expand Down
2 changes: 1 addition & 1 deletion packages/pds/src/pipethrough.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 37eddfb

Please sign in to comment.