aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Dag <me@dvikan.no> 2025-01-03 06:19:24 +0100
committerGravatar GitHub <noreply@github.com> 2025-01-03 06:19:24 +0100
commit3fc38c15a3afa7e0377e3b6cb4ffec1335a36f63 (patch)
treea03f4349bfb87a36648cca723fbffcbba091c34f /lib
parentbe51ba17df892fde0c371c181425dd636f0f4d37 (diff)
downloadrss-bridge-3fc38c15a3afa7e0377e3b6cb4ffec1335a36f63.tar.gz
rss-bridge-3fc38c15a3afa7e0377e3b6cb4ffec1335a36f63.tar.zst
rss-bridge-3fc38c15a3afa7e0377e3b6cb4ffec1335a36f63.zip
fix: cache 400 and 404, and refactor token auth (#4388)
* fix(cache): also cache 400 and 404 responses * refactor(token_auth)
Diffstat (limited to 'lib')
-rw-r--r--lib/http.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.php b/lib/http.php
index d1043b33..15d6ebec 100644
--- a/lib/http.php
+++ b/lib/http.php
@@ -220,7 +220,7 @@ final class Request
return $clone;
}
- public function attribute(string $key, $default = null)
+ public function getAttribute(string $key, $default = null)
{
return $this->attributes[$key] ?? $default;
}