diff options
| author | Brahim Hadriche <brahim.hadriche@gmail.com> | 2024-04-01 10:03:29 -0400 |
|---|---|---|
| committer | Brahim Hadriche <brahim.hadriche@gmail.com> | 2024-04-01 10:03:29 -0400 |
| commit | b0c6bdf44c7fdff97d4fd408a7fede67f82e68a6 (patch) | |
| tree | f35c44273aa51cffe94eac4c179eba2f6f4234f9 /src | |
| parent | c5eb10b21f742041ad3dad809a0f5aa6ce339c17 (diff) | |
| download | invidious-b0c6bdf44c7fdff97d4fd408a7fede67f82e68a6.tar.gz invidious-b0c6bdf44c7fdff97d4fd408a7fede67f82e68a6.tar.bz2 invidious-b0c6bdf44c7fdff97d4fd408a7fede67f82e68a6.zip | |
use 403 code
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/routes/api/v1/feeds.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/routes/api/v1/feeds.cr b/src/invidious/routes/api/v1/feeds.cr index 41865f34..fea2993c 100644 --- a/src/invidious/routes/api/v1/feeds.cr +++ b/src/invidious/routes/api/v1/feeds.cr @@ -31,7 +31,7 @@ module Invidious::Routes::API::V1::Feeds if !CONFIG.popular_enabled error_message = {"error" => "Administrator has disabled this endpoint."}.to_json - haltf env, 400, error_message + haltf env, 403, error_message end JSON.build do |json| |
