mirror of
https://github.com/wekan/wekan.git
synced 2026-02-09 09:44:22 +01:00
Fix lint.
This commit is contained in:
parent
3605072650
commit
0aabb0b364
4 changed files with 6 additions and 4 deletions
|
|
@ -153,7 +153,7 @@ if (Meteor.isServer) {
|
|||
// At Sandstorm, Admin Panel has SMTP settings
|
||||
const newSetting = Settings.findOne();
|
||||
if (!process.env.MAIL_URL && newSetting.mailUrl())
|
||||
process.env.MAIL_URL = newSetting.mailUrl();
|
||||
process.env.MAIL_URL = newSetting.mailUrl();
|
||||
Accounts.emailTemplates.from = process.env.MAIL_FROM
|
||||
? process.env.MAIL_FROM
|
||||
: newSetting.mailServer.from;
|
||||
|
|
|
|||
|
|
@ -184,7 +184,7 @@ function pickleValue(value) {
|
|||
if (value === null) {
|
||||
return null;
|
||||
} else if (typeof value === 'object') {
|
||||
switch(value.constructor.name) {
|
||||
switch (value.constructor.name) {
|
||||
case 'RegExp':
|
||||
return {
|
||||
$$class: 'RegExp',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue