fix keyId url
This commit is contained in:
parent
12724a3681
commit
e79f2e8991
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ class Signature {
|
||||||
$signature = \base64_encode( $signature ); // phpcs:ignore
|
$signature = \base64_encode( $signature ); // phpcs:ignore
|
||||||
|
|
||||||
if ( User::APPLICATION_USER_ID === $user_id ) {
|
if ( User::APPLICATION_USER_ID === $user_id ) {
|
||||||
$key_id = \get_rest_url( null, 'activitypub/1.0/service#main-key' );
|
$key_id = \get_rest_url( null, 'activitypub/1.0/application#main-key' );
|
||||||
} else {
|
} else {
|
||||||
$key_id = \get_author_posts_url( $user_id ) . '#main-key';
|
$key_id = \get_author_posts_url( $user_id ) . '#main-key';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue