mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix(api): rename hasProfile varaible
This commit is contained in:
parent
a1ef3b9707
commit
55ee51e5b6
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user