Fix bug
This commit is contained in:
parent
6a97f0b7f6
commit
69f246ce7f
4 changed files with 23 additions and 14 deletions
|
@ -443,6 +443,10 @@ export default define(meta, (ps) => new Promise(async (res, rej) => {
|
|||
set.smtpPass = ps.smtpPass;
|
||||
}
|
||||
|
||||
if (ps.errorImageUrl !== undefined) {
|
||||
set.errorImageUrl = ps.errorImageUrl;
|
||||
}
|
||||
|
||||
await Meta.update({}, {
|
||||
$set: set
|
||||
}, { upsert: true });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue