X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fhelpers%2Fcustom-jsonld-signature.ts;h=56f10086c605439432988db8780c796f903f17a5;hb=0bae66632a8767f3d5aca080af314bcab56e1889;hp=749c50cb3d5c6f5de154964948d56596f493246d;hpb=134cf2bce96a8c5aefd55154e884964975d8cf23;p=github%2FChocobozzz%2FPeerTube.git 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({ } }) +/* eslint-disable no-import-assign */ jsonld.documentLoader = (url) => { return new Promise((res, rej) => { lru.get(url, (err, value) => {