1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-06 08:37:30 +02:00

fix: cache 400 and 404, and refactor token auth (#4388)

* fix(cache): also cache 400 and 404 responses

* refactor(token_auth)
This commit is contained in:
Dag
2025-01-03 06:19:24 +01:00
committed by GitHub
parent be51ba17df
commit 3fc38c15a3
6 changed files with 22 additions and 13 deletions

View File

@@ -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;
}