This commit is contained in:
Michael 2023-02-14 20:52:33 +00:00
parent f9b3340599
commit 9a93c8f1c5
2 changed files with 2 additions and 2 deletions

View 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]);

View file

@ -261,7 +261,7 @@ class HttpClient implements ICanSendHttpRequests
throw new TransferException($urlResult->getErrorMessageString(), $urlResult->getHTTPStatusCode() ?? 0);
}
return $urlResult->getURL();
return $urlResult->getUrl();
}
/**