diff --git a/.changeset/wild-beans-dress.md b/.changeset/wild-beans-dress.md new file mode 100644 index 00000000000..ed46a13701c --- /dev/null +++ b/.changeset/wild-beans-dress.md @@ -0,0 +1,5 @@ +--- +"@atproto/pds": patch +--- + +Fix calls from pds containing content-type but no body diff --git a/.github/workflows/build-and-push-pds-ghcr.yaml b/.github/workflows/build-and-push-pds-ghcr.yaml index 621b89dc69b..637dc4ea9e7 100644 --- a/.github/workflows/build-and-push-pds-ghcr.yaml +++ b/.github/workflows/build-and-push-pds-ghcr.yaml @@ -3,7 +3,7 @@ on: push: branches: - main - - service-auth-scopes + - divy/fix-pds-calls-no-body env: REGISTRY: ghcr.io USERNAME: ${{ github.actor }} diff --git a/packages/pds/src/api/com/atproto/server/activateAccount.ts b/packages/pds/src/api/com/atproto/server/activateAccount.ts index 68d1ad2fdd2..c46c73e547d 100644 --- a/packages/pds/src/api/com/atproto/server/activateAccount.ts +++ b/packages/pds/src/api/com/atproto/server/activateAccount.ts @@ -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 } diff --git a/packages/pds/src/api/com/atproto/server/deleteSession.ts b/packages/pds/src/api/com/atproto/server/deleteSession.ts index bd3778a0b12..06626ac117a 100644 --- a/packages/pds/src/api/com/atproto/server/deleteSession.ts +++ b/packages/pds/src/api/com/atproto/server/deleteSession.ts @@ -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 {