mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
This commit is contained in:
parent
9381435fff
commit
0287ced18e
@ -131,7 +131,8 @@ export async function createPerson(value: any, resolver?: Resolver): Promise<IUs
|
||||
endpoints: person.endpoints,
|
||||
uri: person.id,
|
||||
url: person.url,
|
||||
isBot
|
||||
isBot: isBot,
|
||||
isCat: (person as any).isCat === true ? true : false
|
||||
}) as IRemoteUser;
|
||||
} catch (e) {
|
||||
// duplicate key error
|
||||
@ -262,7 +263,8 @@ export async function updatePerson(value: string | IObject, resolver?: Resolver)
|
||||
notesCount,
|
||||
name: person.name,
|
||||
url: person.url,
|
||||
endpoints: person.endpoints
|
||||
endpoints: person.endpoints,
|
||||
isCat: (person as any).isCat === true ? true : false
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -29,6 +29,7 @@ export default async (user: ILocalUser) => {
|
||||
icon: user.avatarId && renderImage(avatar),
|
||||
image: user.bannerId && renderImage(banner),
|
||||
manuallyApprovesFollowers: user.isLocked,
|
||||
publicKey: renderKey(user)
|
||||
publicKey: renderKey(user),
|
||||
isCat: user.isCat
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user