summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-15 00:12:04 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-08-15 00:12:04 +1000
commitcb1dbd83e272bc1fa16435ebecec46bd7584efee (patch)
tree1cd4e144eee66405fcc7ae41e71cc225ddf6209e /src/util
parentehhhh (diff)
downloadserver-cb1dbd83e272bc1fa16435ebecec46bd7584efee.tar.xz
ahhhh
Diffstat (limited to 'src/util')
-rw-r--r--src/util/entities/User.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/entities/User.ts b/src/util/entities/User.ts

index 59713bce..d602a750 100644 --- a/src/util/entities/User.ts +++ b/src/util/entities/User.ts
@@ -326,7 +326,7 @@ export class User extends BaseClass { static async fromAP(data: APPerson | string): Promise<User> { if (typeof data == "string") { data = (await fetch(data, { - headers: { Accept: "application/activity+json" }, + headers: { Accept: "application/json" }, }).then((x) => x.json())) as APPerson; }