diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-03 09:33:05 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-02-03 09:45:08 +0100 |
commit | ba5a8d89bbf049e4afc41543bcc072cccdb02669 (patch) | |
tree | 6cc6b2dca17745cc0824c7ad4515f3bc4883fa4a /server/helpers/custom-jsonld-signature.ts | |
parent | 29f148a61381727a432c22a71c7a2b7cc23d9c9e (diff) | |
download | PeerTube-ba5a8d89bbf049e4afc41543bcc072cccdb02669.tar.gz PeerTube-ba5a8d89bbf049e4afc41543bcc072cccdb02669.tar.zst PeerTube-ba5a8d89bbf049e4afc41543bcc072cccdb02669.zip |
Update server dependencies
Diffstat (limited to 'server/helpers/custom-jsonld-signature.ts')
-rw-r--r-- | server/helpers/custom-jsonld-signature.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/helpers/custom-jsonld-signature.ts b/server/helpers/custom-jsonld-signature.ts index 749c50cb3..56f10086c 100644 --- a/server/helpers/custom-jsonld-signature.ts +++ b/server/helpers/custom-jsonld-signature.ts | |||
@@ -76,6 +76,7 @@ const lru = new AsyncLRU({ | |||
76 | } | 76 | } |
77 | }) | 77 | }) |
78 | 78 | ||
79 | /* eslint-disable no-import-assign */ | ||
79 | jsonld.documentLoader = (url) => { | 80 | jsonld.documentLoader = (url) => { |
80 | return new Promise((res, rej) => { | 81 | return new Promise((res, rej) => { |
81 | lru.get(url, (err, value) => { | 82 | lru.get(url, (err, value) => { |