diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-08-27 13:28:49 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-27 16:03:57 +0200 |
commit | c9d5c64f98c1f1fe7950de60c58edeaf3ace070d (patch) | |
tree | 26d828e560054cf8a64628823d3dd86172d44f52 /server/lib/emailer.ts | |
parent | 0ee027347ae09ea397e9b85702707e9179537ebd (diff) | |
download | PeerTube-c9d5c64f98c1f1fe7950de60c58edeaf3ace070d.tar.gz PeerTube-c9d5c64f98c1f1fe7950de60c58edeaf3ace070d.tar.zst PeerTube-c9d5c64f98c1f1fe7950de60c58edeaf3ace070d.zip |
replace fs by fs-extra to prevent EMFILE error
Diffstat (limited to 'server/lib/emailer.ts')
-rw-r--r-- | server/lib/emailer.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/emailer.ts b/server/lib/emailer.ts index c8398c9e7..bf8e5b6c3 100644 --- a/server/lib/emailer.ts +++ b/server/lib/emailer.ts | |||
@@ -7,7 +7,7 @@ import { UserModel } from '../models/account/user' | |||
7 | import { VideoModel } from '../models/video/video' | 7 | import { VideoModel } from '../models/video/video' |
8 | import { JobQueue } from './job-queue' | 8 | import { JobQueue } from './job-queue' |
9 | import { EmailPayload } from './job-queue/handlers/email' | 9 | import { EmailPayload } from './job-queue/handlers/email' |
10 | import { readFileSync } from 'fs' | 10 | import { readFileSync } from 'fs-extra' |
11 | 11 | ||
12 | class Emailer { | 12 | class Emailer { |
13 | 13 | ||