mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
Update src/@utils/ddo.ts
remove metadata from service type Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
This commit is contained in:
parent
36bc097c0b
commit
3e4b79fc42
@ -2,7 +2,7 @@ import { Asset, DDO, Service } from '@oceanprotocol/lib'
|
||||
|
||||
export function getServiceByName(
|
||||
ddo: Asset | DDO,
|
||||
name: 'access' | 'compute' | 'metadata'
|
||||
name: 'access' | 'compute'
|
||||
): Service {
|
||||
if (!ddo) return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user