From 502d94316b199f0a152b51ae7dba413e7c77d254 Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Fri, 5 Jul 2019 00:42:59 -0100 Subject: [PATCH] fixing Signed-off-by: Maxence Lange --- lib/Service/FollowService.php | 1 + lib/Service/SignatureService.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Service/FollowService.php b/lib/Service/FollowService.php index 512dbd83..f013a8ca 100644 --- a/lib/Service/FollowService.php +++ b/lib/Service/FollowService.php @@ -180,6 +180,7 @@ class FollowService { * @throws ItemUnknownException * @throws UrlCloudException * @throws RequestResultNotJsonException + * @throws UnauthorizedFediverseException */ public function unfollowAccount(Person $actor, string $account) { $remoteActor = $this->cacheActorService->getFromAccount($account); diff --git a/lib/Service/SignatureService.php b/lib/Service/SignatureService.php index d918270b..ebdbf6f5 100644 --- a/lib/Service/SignatureService.php +++ b/lib/Service/SignatureService.php @@ -357,7 +357,7 @@ class SignatureService { foreach ($keys as $key) { if ($key === '(request-target)') { - $estimated .= "(request-target): " . $target; + $estimated .= "(request-target): " . $target . "\n"; continue; }