From 53231ee0fe41b14384efbaa5f173943ac3225005 Mon Sep 17 00:00:00 2001 From: Daniel Waxweiler Date: Wed, 3 Apr 2024 22:49:12 +0200 Subject: [PATCH] add permission callback --- source/includes/Api.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/includes/Api.php b/source/includes/Api.php index a99b0fb..b3d1bb1 100644 --- a/source/includes/Api.php +++ b/source/includes/Api.php @@ -25,7 +25,8 @@ class Api { return !is_numeric($param); } ] - ] + ], + 'permission_callback' => '__return_true', ] ); }