fix for public app not loading (#10378)

This commit is contained in:
Midhun G S 2024-07-16 13:54:47 +05:30 committed by GitHub
parent bbe960e518
commit 6b5b68df49
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -137,7 +137,7 @@ export class AppsControllerV2 {
const pagesForVersion = app.editingVersion ? await this.pageService.findPagesForVersion(versionToLoad.id) : [];
const eventsForVersion = app.editingVersion ? await this.eventsService.findEventsForVersion(versionToLoad.id) : [];
const appTheme = await this.appsServiceSep.getTheme(user.organizationId, versionToLoad?.globalSettings?.theme?.id);
const appTheme = await this.appsServiceSep.getTheme(app.organizationId, versionToLoad?.globalSettings?.theme?.id);
// serialize
return {