diff --git a/api/coffee/POST.php b/api/coffee/POST.php index 29065a1..a7b24d2 100644 --- a/api/coffee/POST.php +++ b/api/coffee/POST.php @@ -13,7 +13,7 @@ final class POST_Coffee extends API { public function __construct() { - parent::__construct(new Ruleset()->POST([ + parent::__construct(new Ruleset(strict: true)->POST([ new Rules(CoffeeTable::DATE_CREATED->value) ->type(Type::STRING) ->type(Type::NUMBER)