Improve age rating response, even if the attributes are not used
[gamestick-pjgsapi.git] / 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);