Skip to content

Calling .addParam on an Asset does not return Asset #340

Open
@bramski

Description

@bramski

Example code:

Stack.Assets('bltfe1acfaa9a6bdb9a').toJSON().addParam('include_dimension', true).fetch().then((asset) => {
    console.debug("Icon Asset", asset);
   });

Expectation:
Get an asset with the debug data on the terminal.

Result:

TypeError: Cannot read properties of undefined (reading 'fetch')

According to the SDK the call to addParam should return an Asset object. Not undefined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions