Skip to content

Commit

Permalink
Fix calls from pds containing content-type but no body (#2725)
Browse files Browse the repository at this point in the history
* pds: fix calls from pds containing content-type but no body

* build
  • Loading branch information
devinivy authored Aug 18, 2024
1 parent 40c145f commit f9a2f3e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/wild-beans-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@atproto/pds": patch
---

Fix calls from pds containing content-type but no body
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push-pds-ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches:
- main
- service-auth-scopes
- divy/fix-pds-calls-no-body
env:
REGISTRY: ghcr.io
USERNAME: ${{ github.actor }}
Expand Down
2 changes: 1 addition & 1 deletion packages/pds/src/api/com/atproto/server/activateAccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function (server: Server, ctx: AppContext) {
if (ctx.entrywayAgent) {
await ctx.entrywayAgent.com.atproto.server.activateAccount(
undefined,
authPassthru(req, true),
authPassthru(req),
)
return
}
Expand Down
2 changes: 1 addition & 1 deletion packages/pds/src/api/com/atproto/server/deleteSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function (server: Server, ctx: AppContext) {
server.com.atproto.server.deleteSession(async (reqCtx) => {
await entrywayAgent.com.atproto.server.deleteSession(
undefined,
authPassthru(reqCtx.req, true),
authPassthru(reqCtx.req),
)
})
} else {
Expand Down

0 comments on commit f9a2f3e

Please sign in to comment.