Implemented basic transactional emails API
This commit is contained in:
parent
913c7dc337
commit
4a521a8f0f
4 changed files with 107 additions and 1 deletions
|
@ -8,6 +8,10 @@ const fs = require('fs-extra-promise');
|
|||
const tryRequire = require('try-require');
|
||||
const posix = tryRequire('posix');
|
||||
|
||||
// process.getuid and process.getgid are not supported on Windows
|
||||
process.getuid = process.getuid || (() => 100);
|
||||
process.getgid = process.getuid || (() => 100);
|
||||
|
||||
function _getConfigUidGid(userKey, groupKey, defaultUid, defaultGid) {
|
||||
let uid = defaultUid;
|
||||
let gid = defaultGid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue