redesign user data api

This commit is contained in:
isUnknown 2024-10-28 15:33:52 +01:00
parent f132049948
commit 44361e614d
17 changed files with 80 additions and 52 deletions

View file

@ -15,6 +15,9 @@ $specificData = [
"children" => $children,
];
$data = array_merge($genericData, $specificData);
$pageData = array_merge($genericData, $specificData);
echo json_encode($data);
echo json_encode([
"page" => $pageData,
"user" => $userData
]);