mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
extra checks
This commit is contained in:
parent
20493dfca4
commit
d10766d967
@ -393,11 +393,17 @@ export class Assets extends Instantiable {
|
||||
return {
|
||||
type: 'access',
|
||||
index: 2,
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
serviceEndpoint: customProvider || this.ocean.provider.url,
|
||||
=======
|
||||
serviceEndpoint: customProvider || this.ocean.provider.getConsumeEndpoint(),
|
||||
>>>>>>> 17e61d0... allow customProvider on publish
|
||||
=======
|
||||
serviceEndpoint: customProvider
|
||||
? customProvider + this.ocean.provider.getConsumeEndpointShort()
|
||||
: this.ocean.provider.getConsumeEndpoint(),
|
||||
>>>>>>> 960e90f... extra checks
|
||||
attributes: {
|
||||
main: {
|
||||
creator: creator.getId(),
|
||||
|
@ -293,6 +293,7 @@ export class Compute extends Instantiable {
|
||||
const service = {
|
||||
type: 'compute',
|
||||
index: 3,
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
serviceEndpoint: customProvider
|
||||
? customProvider + this.ocean.provider.getComputeEndpointShort()
|
||||
@ -300,6 +301,11 @@ export class Compute extends Instantiable {
|
||||
=======
|
||||
serviceEndpoint: customProvider || this.ocean.provider.getComputeEndpoint(),
|
||||
>>>>>>> 17e61d0... allow customProvider on publish
|
||||
=======
|
||||
serviceEndpoint: customProvider
|
||||
? customProvider + this.ocean.provider.getComputeEndpointShort()
|
||||
: this.ocean.provider.getComputeEndpoint(),
|
||||
>>>>>>> 960e90f... extra checks
|
||||
attributes: {
|
||||
main: {
|
||||
name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user