1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

lint fixes

This commit is contained in:
Jernej Pregelj 2019-07-17 15:28:57 +02:00
parent a7d6af6006
commit 4d2a691a9b

View File

@ -85,9 +85,7 @@ export default class AssetDetails extends PureComponent<
private fetch = async (method: string, body: any) => {
try {
const response = await fetch(
`${serviceUri}/api/v1/ddo/${
this.props.ddo
}`,
`${serviceUri}/api/v1/ddo/${this.props.ddo}`,
{
method,
body: JSON.stringify({ body }),