mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-09-09 11:45:18 -05:00
Finished the Integration of the InitOrGetGroupsEndpoint. Now we can save equipped items for a users character in the Database.
Init or get groups als initializes the Data when it doesn't exist.
This commit is contained in:
@@ -37,8 +37,15 @@ public function initOrGetGroups(InitOrGetGroupsRequest $request)
|
||||
else
|
||||
$response->addFactionProgression($group, $user);
|
||||
}
|
||||
|
||||
if (!$request->skipMetadataGroups) {
|
||||
if($group->getCharacter() !== false)
|
||||
$response->addCharacterMetadataGroup($group->getCharacter(), $user);
|
||||
}
|
||||
}
|
||||
|
||||
$response->addGeneralMetadata($user);
|
||||
|
||||
return json_encode($response);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user