From 9a93c8f1c5ee3ce10501ba196db2d5ef22c5927f Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 14 Feb 2023 20:52:33 +0000 Subject: [PATCH] Fix caps --- src/Module/Api/Mastodon/Notifications.php | 2 +- src/Network/HTTPClient/Client/HttpClient.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Module/Api/Mastodon/Notifications.php b/src/Module/Api/Mastodon/Notifications.php index a1e99a6358..3cf60b870c 100644 --- a/src/Module/Api/Mastodon/Notifications.php +++ b/src/Module/Api/Mastodon/Notifications.php @@ -70,7 +70,7 @@ class Notifications extends BaseApi $condition = ["`uid` = ? AND (NOT `type` IN (?, ?))", $uid, Post\UserNotification::TYPE_ACTIVITY_PARTICIPATION, - POST\UserNotification::TYPE_COMMENT_PARTICIPATION]; + Post\UserNotification::TYPE_COMMENT_PARTICIPATION]; if (!$request['include_all']) { $condition = DBA::mergeConditions($condition, ['dismissed' => false]); diff --git a/src/Network/HTTPClient/Client/HttpClient.php b/src/Network/HTTPClient/Client/HttpClient.php index 31eb22be0e..f47418060c 100644 --- a/src/Network/HTTPClient/Client/HttpClient.php +++ b/src/Network/HTTPClient/Client/HttpClient.php @@ -261,7 +261,7 @@ class HttpClient implements ICanSendHttpRequests throw new TransferException($urlResult->getErrorMessageString(), $urlResult->getHTTPStatusCode() ?? 0); } - return $urlResult->getURL(); + return $urlResult->getUrl(); } /**