Open Abrom8 opened 1 year ago
Service FileType is defined as 2nd parameter on instance creation and in the urlFile object. This should be streamlined and only be defined once to prevent mistakes.
const serviceBuilder = new ServiceBuilder(ServiceTypes.ACCESS, FileTypes.URL) const urlFile: UrlFile = { type: 'url', url: 'https://bitcoin.org/bitcoin.pdf', method: 'GET' }
Motivation / Problem
Service FileType is defined as 2nd parameter on instance creation and in the urlFile object. This should be streamlined and only be defined once to prevent mistakes.