git.cweiske.de
/
gamestick-pjgsapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve age rating response, even if the attributes are not used
[gamestick-pjgsapi.git]
/
www
/
api
/
rest
/
parentcontroll
/
change
/
agerating.php
diff --git
a/www/api/rest/parentcontroll/change/agerating.php
b/www/api/rest/parentcontroll/change/agerating.php
index 6b9bfce91276ce9bd62bc74d3a95bd6922ddaab1..da81ff1ca655166d2b0093970233f446f27e8264 100644
(file)
--- 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);