Fix logic error

This commit is contained in:
Yarmo Mackenbach 2021-03-02 15:22:56 +01:00
parent 3c6ccfa0da
commit 44b76d6ed8
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

@ -35,8 +35,6 @@ const customRequestHandler = async (spData, opts) => {
spData.proof.fetch = `https://${opts.nitterInstance}/${match[1]}/status/${match[2]}` spData.proof.fetch = `https://${opts.nitterInstance}/${match[1]}/status/${match[2]}`
const res = await serviceproviders.proxyRequestHandler(spData, opts) const res = await serviceproviders.proxyRequestHandler(spData, opts)
return res return res
} else {
return null
} }
} }