This commit is contained in:
Madeline
2023-08-15 00:12:04 +10:00
parent 99b2e905ad
commit cb1dbd83e2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
}