fix(federation): 🐛 Send correct headers in inbox requests

This commit is contained in:
Jesse Wierzbinski 2024-07-26 19:51:08 +02:00
parent 5826acbf24
commit 385bdc13da
No known key found for this signature in database
3 changed files with 2 additions and 2 deletions

BIN
bun.lockb

Binary file not shown.

View file

@ -106,7 +106,7 @@
"@json2csv/plainjs": "^7.0.6", "@json2csv/plainjs": "^7.0.6",
"@logtape/logtape": "npm:@jsr/logtape__logtape@0.4.2", "@logtape/logtape": "npm:@jsr/logtape__logtape@0.4.2",
"@lysand-org/client": "^0.2.5", "@lysand-org/client": "^0.2.5",
"@lysand-org/federation": "^2.2.0-rc.2", "@lysand-org/federation": "^2.2.0-rc.3",
"@oclif/core": "^4.0.14", "@oclif/core": "^4.0.14",
"@sentry/bun": "^8.20.0", "@sentry/bun": "^8.20.0",
"@tufjs/canonical-json": "^2.0.0", "@tufjs/canonical-json": "^2.0.0",

View file

@ -716,7 +716,7 @@ export class User extends BaseInterface<typeof Users, UserWithRelations> {
{ {
// @ts-expect-error Bun extension // @ts-expect-error Bun extension
proxy: config.http.proxy.address, proxy: config.http.proxy.address,
headers, headers: headers.toJSON(),
}, },
); );
} catch (e) { } catch (e) {