fix(api): rename hasProfile varaible

This commit is contained in:
yassinedorbozgithub 2025-06-26 17:37:36 +01:00
parent a1ef3b9707
commit 55ee51e5b6

View File

@ -126,10 +126,10 @@ export default abstract class BaseWebChannelHandler<
try { try {
const menu = await this.menuService.getTree(); const menu = await this.menuService.getTree();
const hasProfile = !!client.data.session?.web?.profile; const hasSession = !!client.data.session?.web?.profile;
client.emit('settings', { client.emit('settings', {
menu, menu,
hasProfile, hasSession,
...settings, ...settings,
}); });
} catch (err) { } catch (err) {