2
0
mirror of https://github.com/slawkens/myaac.git synced 2025-04-30 19:29:21 +02:00

Fix boostedCreature fetch on login.php

This commit is contained in:
slawkens 2025-04-23 18:05:14 +02:00
parent fa1f927082
commit 4e6aa0f262

@ -86,7 +86,7 @@ switch ($action) {
die(json_encode(['eventlist' => $eventlist, 'lastupdatetimestamp' => time()])); die(json_encode(['eventlist' => $eventlist, 'lastupdatetimestamp' => time()]));
case 'boostedcreature': case 'boostedcreature':
$boostedCreature = BoostedCreature::latest(); $boostedCreature = BoostedCreature::first();
die(json_encode([ die(json_encode([
'boostedcreature' => true, 'boostedcreature' => true,
'raceid' => $boostedCreature->raceid 'raceid' => $boostedCreature->raceid