From 8ffdba2974977150db6e6a02febcad32e4f4351d Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Thu, 1 Jun 2023 20:27:07 +0200 Subject: [PATCH] Improve age rating response, even if the attributes are not used --- www/api/rest/parentcontroll/change/agerating.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/api/rest/parentcontroll/change/agerating.php b/www/api/rest/parentcontroll/change/agerating.php index 6b9bfce..da81ff1 100644 --- a/www/api/rest/parentcontroll/change/agerating.php +++ b/www/api/rest/parentcontroll/change/agerating.php @@ -67,6 +67,8 @@ $profileDb->updateProfile( $data = [ 'body' => [ 'success' => true, + 'message' => null, + 'action' => 'ChangeAgeRating', ], ]; $json = json_encode($data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); -- 2.30.2