Skip to content

Setting avatar does not work (missing type) #80

Closed

Description

@Scorpiion

The Avatar object must have a type to be accepted by the API, this client does not have a type on the avatar object so it can't be set.

See Avatar object description here:
https://developers.intercom.com/reference#section-avatar-object

See dotnet and java references here that has the type field:

I will make pull request for this now.

Activity

  1. choran commented on Sep 25, 2017

    @choran
    Member

    Hi @Scorpiion
    Thanks for this, I was trying to test it but didnt manage to get it working.
    Were you able to add the avatar using your changes?
    If you were can you add a code example here in case I am testing it incorrectly ?
    Thanks again
    Cathal

  2. Scorpiion commented on Oct 4, 2017

    @Scorpiion
    ContributorAuthor

    Hi @choran, sorry for not replying, been very busy.

    No I have not tested it, not sure if there are any other issues but as you concluded in the pull request this change makes sense either way. I will try this later again when I have more time. Thanks for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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