Skip to content

Sending empty or no tags to contact identify post breaks the API #4

@BerciTheBeast

Description

@BerciTheBeast

When calling contactIdentifyPost without tags or with empty tags, the API response returns tags as null, which throws an error in the convertToType, because it tries to run map over the null value.

convertType/default/Array.isArray(type) receives data = null and type = ['String'] and tries to do return data.map(function ..., which leads to the problematic situation, as null has no function map.

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