1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

update validUntil type

This commit is contained in:
Bogdan Fazakas 2022-01-20 00:24:30 +02:00
parent cc7de98b63
commit ccbbeae429
2 changed files with 2 additions and 2 deletions

View File

@ -232,7 +232,7 @@ export class Provider {
getMethod: any,
userCustomParameters?: UserCustomParameters,
computeEnv?: string,
validUntil?: string
validUntil?: number
): Promise<ProviderInitialize> {
const providerEndpoints = await this.getEndpoints(providerUri)
const serviceEndpoints = await this.getServiceEndpoints(

View File

@ -293,7 +293,7 @@ describe('Simple compute tests', async () => {
crossFetchGeneric,
null,
'env1',
providerValidUntil.toString()
providerValidUntil.getTime()
)
console.log('initializeData', initializeData)
const providerDatasetFees: ProviderFees = {