fix keyId url

This commit is contained in:
Django Doucet 2023-05-16 00:11:27 -06:00
parent 12724a3681
commit e79f2e8991

View file

@ -142,7 +142,7 @@ class Signature {
$signature = \base64_encode( $signature ); // phpcs:ignore
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 {
$key_id = \get_author_posts_url( $user_id ) . '#main-key';
}