Some bug fixes
This commit is contained in:
parent
a1b490afa7
commit
a02ee3a08b
81 changed files with 337 additions and 1318 deletions
|
|
@ -4,5 +4,5 @@ import { IRemoteUser } from '../../../models/user';
|
|||
export default ({ username }, followee: IRemoteUser) => ({
|
||||
type: 'Follow',
|
||||
actor: `${config.url}/@${username}`,
|
||||
object: followee.account.uri
|
||||
object: followee.uri
|
||||
});
|
||||
|
|
|
|||
|
|
@ -6,5 +6,5 @@ export default (user: ILocalUser) => ({
|
|||
id: `${config.url}/@${user.username}/publickey`,
|
||||
type: 'Key',
|
||||
owner: `${config.url}/@${user.username}`,
|
||||
publicKeyPem: extractPublic(user.account.keypair)
|
||||
publicKeyPem: extractPublic(user.keypair)
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue