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:
parent
a32ff30c1d
commit
2a4832574c
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user