AP Actorの修正 (#7573)
* AP Actorの修正 * Add ActivityPub test * Fix person * Test * ap test * Revert "Test" This reverts commit 3c493eff4e89f94fd33f25189ba3bc96ef4366b3. * Test comment * fix * fix * Update inbox * indent * nl * indent * TODO * Fix inbox * Update test
This commit is contained in:
parent
cb42f94d9c
commit
1772af9583
7 changed files with 169 additions and 70 deletions
|
|
@ -98,7 +98,7 @@ export default class DbResolver {
|
|||
|
||||
if (user == null) return null;
|
||||
|
||||
const key = await UserPublickeys.findOneOrFail(user.id);
|
||||
const key = await UserPublickeys.findOne(user.id);
|
||||
|
||||
return {
|
||||
user,
|
||||
|
|
@ -127,7 +127,7 @@ export default class DbResolver {
|
|||
|
||||
export type AuthUser = {
|
||||
user: IRemoteUser;
|
||||
key: UserPublickey;
|
||||
key?: UserPublickey;
|
||||
};
|
||||
|
||||
type UriParseResult = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue