mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-06 21:08:11 +00:00
ahhhh
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user