mirror of
https://github.com/ibratabian17/OpenParty.git
synced 2026-01-15 14:22:54 -03:00
Fix Official Server Response
This commit is contained in:
@@ -177,7 +177,7 @@ exports.initroute = (app) => {
|
||||
});
|
||||
|
||||
// Assume the external response contains the profile as `profileData`
|
||||
const profileData = profileResponse.data[profileId]; // Adjust according to the actual response format
|
||||
const profileData = profileResponse.data[0]; // Adjust according to the actual response format
|
||||
if (profileData) {
|
||||
console.log(`[ACC] Account Saved to the server: `, profileId);
|
||||
const defaultProfile = { ...profileData, ip: req.clientIp, ticket: ticket };
|
||||
|
||||
Reference in New Issue
Block a user