1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

fix duplication in generateMetadata

This commit is contained in:
Matthias Kretschmann 2020-01-30 20:15:30 +01:00
parent a32ff30c1d
commit 2a4832574c
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -64,7 +64,6 @@ export const generateMetadata = (
type?: 'dataset' | 'algorithm', type?: 'dataset' | 'algorithm',
price?: number price?: number
): Partial<MetaData> => ({ ): Partial<MetaData> => ({
...metadata,
main: { main: {
...metadata.main, ...metadata.main,
name, name,