This commit is contained in:
syuilo 2018-12-11 21:17:57 +09:00
parent 6a97f0b7f6
commit 69f246ce7f
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
4 changed files with 23 additions and 14 deletions

View file

@ -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 });