mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-28 13:36:16 +02:00
Fix DoesNotExist error
This commit is contained in:
parent
5ab927d2f5
commit
0b78b42f2f
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ function getMenuConfig(client, name, cb) {
|
|||
menuConfig.promptConfig = client.currentTheme.prompts[menuConfig.prompt];
|
||||
return callback(null, menuConfig);
|
||||
}
|
||||
return callback(Error.DoesNotExist(`No prompt entry for "${menuConfig.prompt}"`));
|
||||
return callback(Errors.DoesNotExist(`No prompt entry for "${menuConfig.prompt}"`));
|
||||
}
|
||||
return callback(null, menuConfig);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue