Skip to content

traits method will throw an error if the property value is not an object #116

@ccnixon

Description

@ccnixon

See here: https://github.com/segmentio/facade/blob/master/lib/facade.js#L344.

This line will throw if the user has not defined their traits property as an object. This is a current issue for a user sending in traits as a string.

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