Improve age rating response, even if the attributes are not used
authorChristian Weiske <cweiske@cweiske.de>
Thu, 1 Jun 2023 18:27:07 +0000 (20:27 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Thu, 1 Jun 2023 18:27:07 +0000 (20:27 +0200)
www/api/rest/parentcontroll/change/agerating.php

index 6b9bfce91276ce9bd62bc74d3a95bd6922ddaab1..da81ff1ca655166d2b0093970233f446f27e8264 100644 (file)
@@ -67,6 +67,8 @@ $profileDb->updateProfile(
 $data = [
     'body' => [
         'success' => true,
+        'message' => null,
+        'action'  => 'ChangeAgeRating',
     ],
 ];
 $json = json_encode($data, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);