]> git.mxchange.org Git - friendica.git/commitdiff
Fix caps
authorMichael <heluecht@pirati.ca>
Tue, 14 Feb 2023 20:52:33 +0000 (20:52 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 14 Feb 2023 20:52:33 +0000 (20:52 +0000)
src/Module/Api/Mastodon/Notifications.php
src/Network/HTTPClient/Client/HttpClient.php

index a1e99a63584a820b54cdcaa355acc4fa2a9bc916..3cf60b870cabf700cde5a8f363db6c9efb587339 100644 (file)
@@ -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]);
index 31eb22be0ea7c9eb5d159e58266fdc736c9ffd7f..f47418060c16d34c93bd51bd2f85cc80d5a321b1 100644 (file)
@@ -261,7 +261,7 @@ class HttpClient implements ICanSendHttpRequests
                        throw new TransferException($urlResult->getErrorMessageString(), $urlResult->getHTTPStatusCode() ?? 0);
                }
 
-               return $urlResult->getURL();
+               return $urlResult->getUrl();
        }
 
        /**