mirror of
https://github.com/oceanprotocol/react.git
synced 2024-12-23 01:29:49 +01:00
typing tweak
This commit is contained in:
parent
4069816516
commit
9ebfb1e93f
@ -107,17 +107,17 @@ function usePublish(): UsePublish {
|
||||
containers,
|
||||
servers
|
||||
)
|
||||
const origComputePrivacy = {
|
||||
const origComputePrivacy: ServiceComputePrivacy = {
|
||||
allowRawAlgorithm: true,
|
||||
allowNetworkAccess: false,
|
||||
trustedAlgorithms: [] as any
|
||||
trustedAlgorithms: []
|
||||
}
|
||||
const computeService = ocean.compute.createComputeService(
|
||||
account,
|
||||
price,
|
||||
publishedDate,
|
||||
provider,
|
||||
origComputePrivacy as ServiceComputePrivacy,
|
||||
origComputePrivacy,
|
||||
timeout,
|
||||
providerUri
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user