mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
fix lint
This commit is contained in:
parent
a725c3aca3
commit
96d946690d
@ -68,7 +68,7 @@ export class Assets extends Instantiable {
|
|||||||
dtAddress?: string
|
dtAddress?: string
|
||||||
): SubscribablePromise<CreateProgressStep, DDO> {
|
): SubscribablePromise<CreateProgressStep, DDO> {
|
||||||
this.logger.log('Creating asset')
|
this.logger.log('Creating asset')
|
||||||
return new SubscribablePromise(async observer => {
|
return new SubscribablePromise(async (observer) => {
|
||||||
if (services.length === 0) {
|
if (services.length === 0) {
|
||||||
this.logger.log('You have no services. Are you sure about this?')
|
this.logger.log('You have no services. Are you sure about this?')
|
||||||
}
|
}
|
||||||
@ -147,7 +147,7 @@ export class Assets extends Instantiable {
|
|||||||
)
|
)
|
||||||
.reverse()
|
.reverse()
|
||||||
// Adding index
|
// Adding index
|
||||||
.map(_ => ({
|
.map((_) => ({
|
||||||
..._,
|
..._,
|
||||||
index: indexCount++
|
index: indexCount++
|
||||||
})) as Service[]
|
})) as Service[]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user