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 {
const menu = await this.menuService.getTree();
const hasProfile = !!client.data.session?.web?.profile;
const hasSession = !!client.data.session?.web?.profile;
client.emit('settings', {
menu,
hasProfile,
hasSession,
...settings,
});
} catch (err) {