Extract timeline actions from `MastodonAPIController` into `TimelineController`
[akkoma] / lib / pleroma / web / controller_helper.ex
index b53a01955d3cf0c1b60a7072385ec3a8b4c0b3f9..e90bf842ee37bf625dea3da85accc85f4a227865 100644 (file)
@@ -6,7 +6,7 @@ defmodule Pleroma.Web.ControllerHelper do
   use Pleroma.Web, :controller
 
   # As in MastoAPI, per https://api.rubyonrails.org/classes/ActiveModel/Type/Boolean.html
-  @falsy_param_values [false, 0, "0", "f", "F", "false", "FALSE", "off", "OFF"]
+  @falsy_param_values [false, 0, "0", "f", "F", "false", "False", "FALSE", "off", "OFF"]
   def truthy_param?(blank_value) when blank_value in [nil, ""], do: nil
   def truthy_param?(value), do: value not in @falsy_param_values