Fix client bundle pulling Redis/Prisma via habbo gamedata hotel.

Keep hotel list helpers client-safe; load CMS setting only from a server module.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
simoleo89
2026-07-17 22:30:46 +02:00
co-authored by Cursor
parent d1baaf798a
commit 785c1b6976
6 changed files with 25 additions and 13 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { withAdmin } from "@/lib/api-handler";
import { apiOk } from "@/lib/api-response";
import { getHabboGamedataHotel } from "@/lib/habbo-gamedata-hotel";
import { PERMS } from "@/lib/permissions";
import { getHabboGamedataHotel } from "@/lib/services/habbo-gamedata-hotel";
import { batchLookupByClassnames } from "@/lib/services/habbofurni";
export const GET = withAdmin(