mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-24 03:30:40 +02:00
Fix waterfall error
This commit is contained in:
parent
bbd5ff7de3
commit
68da131b1b
1 changed files with 5 additions and 1 deletions
|
@ -580,7 +580,11 @@ function displayThemedPrompt(name, client, options, cb) {
|
|||
client,
|
||||
dispOptions,
|
||||
(err, artInfo) => {
|
||||
return callback(err, promptConfig, artInfo);
|
||||
if(err) {
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
return callback(null, promptConfig, artInfo);
|
||||
}
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue