mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
fixed lint
This commit is contained in:
parent
d44f53fb6f
commit
9ff909468e
@ -290,10 +290,10 @@ export class Provider {
|
|||||||
did: string,
|
did: string,
|
||||||
consumerAddress: string,
|
consumerAddress: string,
|
||||||
algorithm: ComputeAlgorithm,
|
algorithm: ComputeAlgorithm,
|
||||||
output?: ComputeOutput,
|
|
||||||
providerUri: string,
|
providerUri: string,
|
||||||
web3: Web3,
|
web3: Web3,
|
||||||
fetchMethod: any
|
fetchMethod: any,
|
||||||
|
output?: ComputeOutput
|
||||||
): Promise<ComputeJob | ComputeJob[]> {
|
): Promise<ComputeJob | ComputeJob[]> {
|
||||||
const providerEndpoints = await this.getEndpoints(providerUri, fetchMethod)
|
const providerEndpoints = await this.getEndpoints(providerUri, fetchMethod)
|
||||||
const serviceEndpoints = await this.getServiceEndpoints(
|
const serviceEndpoints = await this.getServiceEndpoints(
|
||||||
@ -411,10 +411,10 @@ export class Provider {
|
|||||||
public async computeStatus(
|
public async computeStatus(
|
||||||
did: string,
|
did: string,
|
||||||
consumerAddress: string,
|
consumerAddress: string,
|
||||||
jobId?: string,
|
|
||||||
providerUri: string,
|
providerUri: string,
|
||||||
web3: Web3,
|
web3: Web3,
|
||||||
fetchMethod: any
|
fetchMethod: any,
|
||||||
|
jobId?: string
|
||||||
): Promise<ComputeJob | ComputeJob[]> {
|
): Promise<ComputeJob | ComputeJob[]> {
|
||||||
const providerEndpoints = await this.getEndpoints(providerUri, fetchMethod)
|
const providerEndpoints = await this.getEndpoints(providerUri, fetchMethod)
|
||||||
const serviceEndpoints = await this.getServiceEndpoints(
|
const serviceEndpoints = await this.getServiceEndpoints(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user